Permalink
Browse files

Fix `twittering-switch-timeline' to adjust the timeline spec string.

* twittering-mode.el (twittering-switch-timeline): adjust the
current timeline spec string to the given `spec-string' even if
they mean the same timeline.
  • Loading branch information...
1 parent 2c1fe65 commit cb40b7b204d58074a9cf89b46999c9029824bd2d @cvmat cvmat committed Feb 15, 2010
Showing with 7 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +3 −2 twittering-mode.el
View
4 ChangeLog
@@ -10,6 +10,10 @@
* twittering-mode.el (twittering-current-timeline): keep the
current timeline spec string.
+ * twittering-mode.el (twittering-switch-timeline): adjust the
+ current timeline spec string to the given `spec-string' even if
+ they mean the same timeline.
+
2010-02-14 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-get-usernames-from-timeline): new
View
5 twittering-mode.el
@@ -978,8 +978,9 @@ Return nil if SPEC-STR is invalid as a timeline spec."
(let* ((current (twittering-current-timeline-spec-string))
(same-timeline
(twittering-equal-string-as-timeline current spec-string)))
- (unless same-timeline
- (twittering-set-current-timeline-spec-string spec-string))
+ ;; Adjust the current timeline spec string to `spec-string'
+ ;; even if they mean the same timeline.
+ (twittering-set-current-timeline-spec-string spec-string)
(twittering-render-timeline same-timeline)))
;;;

0 comments on commit cb40b7b

Please sign in to comment.