Skip to content

Commit

Permalink
(twittering-http-default-sentinel): call 'twittering-switch-timeline'…
Browse files Browse the repository at this point in the history
… and 'twittering-release-process' only when 'proc' is non-nil.
  • Loading branch information
yata committed Mar 6, 2010
1 parent 412a1dd commit 1057e90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Expand Up @@ -27,6 +27,10 @@
(twittering-update-jojo): Likewise.
(twittering-native-retweet): Likewise.

* twittering-mode.el (twittering-http-default-sentinel): Call
`twittering-switch-timeline' and `twittering-release-process' only
when `proc' is non-nil.

2010-03-03 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-toggle-reverse-mode): invoke
Expand Down
5 changes: 3 additions & 2 deletions twittering-mode.el
Expand Up @@ -2889,8 +2889,9 @@ variable `twittering-status-format'."
(word (and is-search-spec (cadr spec)))
(proc (twittering-get-tweets host method noninteractive
id since_id word)))
(twittering-switch-timeline spec-string)
(twittering-register-process proc spec)))))
(when proc
(twittering-switch-timeline spec-string)
(twittering-register-process proc spec))))))
(t
(let ((type (car spec)))
(error "%s has not been supported yet" type))))))
Expand Down

0 comments on commit 1057e90

Please sign in to comment.