From e83837f69c5d4de88bef29fc0701eed02092a707 Mon Sep 17 00:00:00 2001 From: bg66 Date: Fri, 8 Dec 2006 03:20:18 +0000 Subject: [PATCH] * sb-mixi.el (shimbun-mixi-initialize-comment-cache): Abolish. (initialize-instance): Follow the change above. (shimbun-close): Set the comment cache to nil. --- ChangeLog | 6 ++++++ sb-mixi.el | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3bd071..17428d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-12-08 OHASHI Akira + * 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 + * mixi.el (mixi-topic-comment-list-regexp): Fix regexp. (mixi-message): Rename the STRING argument to STRINGS. (mixi-login): Follow the cange above. diff --git a/sb-mixi.el b/sb-mixi.el index c50fb52..ef388d5 100644 --- a/sb-mixi.el +++ b/sb-mixi.el @@ -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))) -- 1.7.10.4