From afa569c8a969fa67346f97c17962d085b09d8421 Mon Sep 17 00:00:00 2001 From: hmurata Date: Sun, 7 Nov 2004 11:41:48 +0000 Subject: [PATCH] (wl-summary-switch-to-clone-buffer): Remove event handler of current buffer from elmo-folder. --- wl/ChangeLog | 5 +++++ wl/wl-summary.el | 3 +++ 2 files changed, 8 insertions(+) diff --git a/wl/ChangeLog b/wl/ChangeLog index 3d216b9..bbe75d4 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2004-11-07 Hiroya Murata + + * wl-summary.el (wl-summary-switch-to-clone-buffer): Remove event + handler of current buffer from elmo-folder. + 2004-11-07 Yoichi NAKAYAMA * wl-fldmgr.el (wl-fldmgr-sort): Confirm before sorting. diff --git a/wl/wl-summary.el b/wl/wl-summary.el index afedf62..3a5609c 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -2231,6 +2231,9 @@ If ARG, without confirm." (symbol-value (car copy-variables)))) (setq copy-variables (cdr copy-variables))) (switch-to-buffer buf) + (with-current-buffer cur-buf + (elmo-folder-remove-handler wl-summary-buffer-elmo-folder + wl-summary-buffer-event-handler)) (kill-buffer cur-buf) (wl-summary-count-unread) (wl-summary-update-modeline) -- 1.7.10.4