Permalink
Browse files

Fix a bug in registration of a sentinel for asynchronous retrieval.

* twittering-mode.el: Fix a bug in registration of a sentinel for
asynchronous retrieval.
(twittering-url-retrieve-async): fix registration of sentinels to
avoid registering a sentinel repeatedly.
  • Loading branch information...
1 parent 95c47b4 commit d8afe49acb8df26271a544b323581a5747dc3bc0 @cvmat cvmat committed Nov 14, 2010
Showing with 10 additions and 1 deletion.
  1. +7 −0 ChangeLog
  2. +1 −0 NEWS
  3. +1 −0 NEWS.ja
  4. +1 −1 twittering-mode.el
View
@@ -1,3 +1,10 @@
+2010-11-14 Tadashi MATSUO <tad@mymail.twin.jp>
+
+ * twittering-mode.el: Fix a bug in registration of a sentinel for
+ asynchronous retrieval.
+ (twittering-url-retrieve-async): fix registration of sentinels to
+ avoid registering a sentinel repeatedly.
+
2010-11-13 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el: `twittering-send-http-request' correctly
View
@@ -99,6 +99,7 @@
* Fix of rendering the format specifier "%L".
The specifier "%L" is correctly rendered with a preceding whitespace.
Thanks to Tom X. Tobin.
+* Fix of repeatedly registering a sentinel for retrieving an image.
* ...
1.0.0: 2010-06-05
View
@@ -107,6 +107,7 @@
`twittering-status-format'のdocstringの通りに空白が挿入されるように
なりました。
Thanks to Tom X. Tobin.
+* アイコン画像取得の際に同一sentinelを複数回登録していたのを修正
* ...
1.0.0: 2010-06-05
View
@@ -2761,7 +2761,7 @@ The retrieved data can be referred as (gethash url twittering-url-data-hash)."
(add-to-list 'twittering-url-request-list url t)
(when sentinel
(let ((current (gethash url twittering-url-request-sentinel-hash)))
- (unless (member url current)
+ (unless (member sentinel current)
(puthash url (cons sentinel current)
twittering-url-request-sentinel-hash))))
(twittering-resolve-url-request))

0 comments on commit d8afe49

Please sign in to comment.