Skip to content

Commit

Permalink
Remove overlays when refreshing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ieure committed May 18, 2009
1 parent 9f1da4c commit 5406762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twit.el
Expand Up @@ -815,6 +815,7 @@ With argument ARG, move to the ARGth previous tweet."
(defun twit-write-recent-tweets (xml-data)
(buffer-disable-undo)
(delete-region (point-min) (point-max))
(remove-overlays)
(twit-insert (format-time-string "Last updated: %c\n")
'((face . "twit-title-face")))
(if (twit-header-error-p (twit-parse-header (car xml-data)))
Expand Down

0 comments on commit 5406762

Please sign in to comment.