Permalink
Browse files

Fix the function of rendering a replied tweet.

* twittering-mode.el: Fix the function of rendering a replied
tweet.
(twittering-retrieve-single-tweet-sentinel): fix the condition
for deciding whether it should re-render a tweet partially or
not.
  • Loading branch information...
1 parent 146caa6 commit 0b4ce86753f980e9a20f8e5d39fc603d9a48f0a1 @cvmat cvmat committed Mar 3, 2013
Showing with 12 additions and 3 deletions.
  1. +6 −0 ChangeLog
  2. +6 −3 twittering-mode.el
View
@@ -150,6 +150,12 @@
from retrieving the ":retweets_of_me" timeline.
(twittering-call-api-with-account-in-api1.1): fix a typo.
+ * twittering-mode.el: Fix the function of rendering a replied
+ tweet.
+ (twittering-retrieve-single-tweet-sentinel): fix the condition
+ for deciding whether it should re-render a tweet partially or
+ not.
+
2013-02-11 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: Fix the jojo-mode that caused an error when
View
@@ -2561,10 +2561,12 @@ FORMAT is a response data format (\"xml\", \"atom\", \"json\")"
(prop
(cdr (assq 'property-to-be-redisplayed connection-info))))
(cond
- (spec
+ ((null prop)
;; The process has been invoked via `twittering-call-api' with
;; the command `retrieve-timeline', not the command
- ;; `retrieve-single-tweet'.
+ ;; `retrieve-single-tweet' for rendering a replied tweet.
+ ;; No special property that specifies regions being re-rendered
+ ;; is given.
(let ((new-statuses `(,status))
(buffer (twittering-get-buffer-from-spec spec)))
(when (and new-statuses buffer)
@@ -5730,7 +5732,8 @@ get-service-configuration -- Get the configuration of the server.
`((timeline-spec . (single ,id))
(format . ,format)
(sentinel . ,sentinel)
- (clean-up-sentinel . ,clean-up-sentinel)))))
+ (clean-up-sentinel . ,clean-up-sentinel))
+ additional-info)))
((eq command 'get-list-index)
;; Get list names.
(let* ((username (cdr (assq 'username args-alist)))

0 comments on commit 0b4ce86

Please sign in to comment.