* sb-mixi.el (shimbun-mixi-initialize-comment-cache): Abolish.
authorbg66 <bg66>
Fri, 8 Dec 2006 03:20:18 +0000 (03:20 +0000)
committerbg66 <bg66>
Fri, 8 Dec 2006 03:20:18 +0000 (03:20 +0000)
(initialize-instance): Follow the change above.
(shimbun-close): Set the comment cache to nil.

ChangeLog
sb-mixi.el

index b3bd071..17428d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-12-08  OHASHI Akira  <bg66@koka-in.org>
 
+       * sb-mixi.el (shimbun-mixi-initialize-comment-cache): Abolish.
+       (initialize-instance): Follow the change above.
+       (shimbun-close): Set the comment cache to nil.
+
+2006-12-08  OHASHI Akira  <bg66@koka-in.org>
+
        * mixi.el (mixi-topic-comment-list-regexp): Fix regexp.
        (mixi-message): Rename the STRING argument to STRINGS.
        (mixi-login): Follow the cange above.
index c50fb52..ef388d5 100644 (file)
@@ -80,17 +80,14 @@ of mixi object."
  h.d+'g\\I{D>Ocy?Rc4uYUyOZj2%2Kl>,x-!MCSsyi3!L}psrrC1jlF,O?Ui>qf)X;sBz`/}\\066X%$
  siG'|4K!2?==|oB&#E'5GGH\\#z[muyQ")))
 
-(defmacro shimbun-mixi-initialize-comment-cache (shimbun)
-  `(shimbun-mixi-set-comment-cache-internal ,shimbun
-                                           (make-hash-table :test 'equal)))
-
 (luna-define-method initialize-instance :after ((shimbun shimbun-mixi)
                                                &rest init-args)
-  (shimbun-mixi-initialize-comment-cache shimbun)
+  (shimbun-mixi-set-comment-cache-internal shimbun
+                                          (make-hash-table :test 'equal))
   shimbun)
 
 (luna-define-method shimbun-close :after ((shimbun shimbun-mixi))
-  (shimbun-mixi-initialize-comment-cache shimbun)
+  (shimbun-mixi-set-comment-cache-internal shimbun nil)
   (when shimbun-mixi-logout-p
     (mixi-logout)))