From 2181bb02ee8cfc957e4621028b50425ae867ecc7 Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 27 Aug 2005 03:44:34 +0000 Subject: [PATCH] Remove local hooks. --- lisp/riece-button.el | 2 +- lisp/riece-icon.el | 4 ++-- lisp/riece-xface.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/riece-button.el b/lisp/riece-button.el index a2d4aac..ba15859 100644 --- a/lisp/riece-button.el +++ b/lisp/riece-button.el @@ -275,7 +275,7 @@ This function is used as a callback for a channel button." (while buffers (set-buffer (car buffers)) (remove-hook 'riece-update-buffer-functions - 'riece-button-update-buffer) + 'riece-button-update-buffer t) (if (local-variable-p 'riece-identity-button-map (car buffers)) (kill-local-variable 'riece-identity-button-map)) diff --git a/lisp/riece-icon.el b/lisp/riece-icon.el index ab1a07f..2064c23 100644 --- a/lisp/riece-icon.el +++ b/lisp/riece-icon.el @@ -336,11 +336,11 @@ Modify whole identification by side effect." (when riece-user-list-buffer (set-buffer riece-user-list-buffer) (remove-hook 'riece-update-buffer-functions - 'riece-icon-update-user-list-buffer)) + 'riece-icon-update-user-list-buffer t)) (when riece-channel-list-buffer (set-buffer riece-channel-list-buffer) (remove-hook 'riece-update-buffer-functions - 'riece-icon-update-user-list-buffer))) + 'riece-icon-update-user-list-buffer t))) (remove-hook 'riece-user-list-mode-hook 'riece-icon-user-list-mode-hook) (remove-hook 'riece-channel-list-mode-hook diff --git a/lisp/riece-xface.el b/lisp/riece-xface.el index 20b1f4d..30f7bb4 100644 --- a/lisp/riece-xface.el +++ b/lisp/riece-xface.el @@ -76,7 +76,7 @@ 'riece-xface-user-list-mode-hook) (with-current-buffer riece-user-list-buffer (remove-hook 'riece-update-buffer-functions - 'riece-xface-update-user-list-buffer))) + 'riece-xface-update-user-list-buffer t))) (defun riece-xface-enable () (setq riece-xface-enabled t) -- 1.7.10.4