Skip to content

Commit

Permalink
* twittering-mode.el (twittering-http-get-default-sentinel): Check
Browse files Browse the repository at this point in the history
if buffer live-p before killing it.
  • Loading branch information
naota committed Dec 7, 2009
1 parent 1ba4674 commit 735adc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2009-12-07 Naohiro Aota <naota@elisp.net>

* twittering-mode.el (twittering-http-get-default-sentinel): Check
if buffer live-p before killing it.

2009-12-07 Yuto Hayamizu <y.hayamizu@gmail.com>

* twittering-mode.el (twittering-read-username-with-completion):
Expand Down
3 changes: 2 additions & 1 deletion twittering-mode.el
Expand Up @@ -665,7 +665,8 @@ Otherwise, they are retrieved by `url-retrieve'.")
(message (if suc-msg suc-msg "Success: Get."))))
(t (message status))))
(message "Failure: Bad http response.")))
(kill-buffer temp-buffer))
(when (buffer-live-p temp-buffer)
(kill-buffer temp-buffer)))
)

(defun twittering-render-timeline ()
Expand Down

0 comments on commit 735adc9

Please sign in to comment.