Skip to content

Commit

Permalink
`twittering-last-requested-timeline-spec-string' is always updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
cvmat committed Jan 5, 2010
1 parent 67efc86 commit 7b44e90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -14,6 +14,8 @@
(twittering-equal-string-as-timeline): add.
(twittering-get-and-render-timeline): accept a timeline spec
string as well as a S-expression.
`twittering-last-requested-timeline-spec' will be updated even if
the requested spec essentially equals to the current one.
(twittering-initial-timeline-spec): replaced by
`twittering-initial-timeline-spec-string'.
(twittering-last-requested-timeline-spec): replaced by
Expand Down
4 changes: 2 additions & 2 deletions twittering-mode.el
Expand Up @@ -1931,13 +1931,13 @@ following symbols;
(error
(format "\"%s\" is invalid as a timeline spec."
(or spec-string original-spec))))
(setq twittering-last-requested-timeline-spec-string spec-string)
(unless
(and twittering-last-retrieved-timeline-spec-string
(twittering-equal-string-as-timeline
spec-string twittering-last-retrieved-timeline-spec-string))
(setq twittering-timeline-last-update nil
twittering-timeline-data nil
twittering-last-requested-timeline-spec-string spec-string))
twittering-timeline-data nil))
(if (twittering-timeline-spec-primary-p spec)
(let ((pair (twittering-timeline-spec-to-host-method spec)))
(when pair
Expand Down

0 comments on commit 7b44e90

Please sign in to comment.