Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add retrieved timeline to history even if it includes no new statuses.

* twittering-mode.el: Add retrieved timeline spec string to
history even if it includes no new statuses.
(twittering-http-get-default-sentinel): add `spec-string' on
successful retrieval even if there are no new statuses.
  • Loading branch information...
commit ddb42cbbd0edad9979a3955b7f3b77b1eaa0370f 1 parent 62179de
@cvmat cvmat authored
Showing with 7 additions and 2 deletions.
  1. +5 −0 ChangeLog
  2. +2 −2 twittering-mode.el
View
5 ChangeLog
@@ -20,6 +20,11 @@
instead of `run-with-idle-timer'.
(twittering-stop): also cancel the idle timer for redisplaying.
+ * twittering-mode.el: Add retrieved timeline spec string to
+ history even if it includes no new statuses.
+ (twittering-http-get-default-sentinel): add `spec-string' on
+ successful retrieval even if there are no new statuses.
+
2010-11-14 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: Fix a bug in registration of a sentinel for
View
4 twittering-mode.el
@@ -1938,8 +1938,8 @@ the server when the HTTP status code equals to 400 or 403."
;; xmltree with HTTP status-code is "200" when we
;; retrieved all un-retrieved statuses.
(when (and new-statuses buffer)
- (twittering-render-timeline buffer t new-statuses))
- (twittering-add-timeline-history spec-string)))
+ (twittering-render-timeline buffer t new-statuses))))
+ (twittering-add-timeline-history spec-string)
(if twittering-notify-successful-http-get
(format "Success: Get %s." spec-string)
nil)))
Please sign in to comment.
Something went wrong with that request. Please try again.