Permalink
Browse files

Fix a typo in the function retrieving the retweet_of_me timeline.

* twittering-mode.el: Fix a typo that disables twittering-mode.el
from retrieving the ":retweets_of_me" timeline.
(twittering-call-api-with-account-in-api1.1): fix a typo.
  • Loading branch information...
1 parent 7773152 commit 146caa602329eefc991506c07d4aab41cbd1092c @cvmat cvmat committed Mar 3, 2013
Showing with 11 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +7 −2 twittering-mode.el
View
@@ -146,6 +146,10 @@
string "@" as the mentions timeline instead of the replies
timeline.
+ * twittering-mode.el: Fix a typo that disables twittering-mode.el
+ from retrieving the ":retweets_of_me" timeline.
+ (twittering-call-api-with-account-in-api1.1): fix a typo.
+
2013-02-11 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: Fix the jojo-mode that caused an error when
View
@@ -5649,7 +5649,7 @@ get-service-configuration -- Get the configuration of the server.
"Timeline spec %s is not supported in the Twitter REST API v1.1"
spec)
nil)
- ((eq spec-type 'retweet_of_me)
+ ((eq spec-type 'retweets_of_me)
`("api.twitter.com"
"1.1/statuses/retweets_of_me"
("count" . ,number-str)
@@ -5671,7 +5671,12 @@ get-service-configuration -- Get the configuration of the server.
,@(when max_id `(("max_id" . ,max_id)))
("q" . ,word)
("result_type" . "mixed")
- ,@(when since_id `(("since_id" . ,since_id))))))))
+ ,@(when since_id `(("since_id" . ,since_id))))))
+ (t
+ (error
+ "Timeline spec %s is unknown"
+ spec-string)
+ nil)))
(format 'json)
(format-str (symbol-name format))
(host (elt parameters 0))

0 comments on commit 146caa6

Please sign in to comment.