Remove local hooks.
authorueno <ueno>
Sat, 27 Aug 2005 03:44:34 +0000 (03:44 +0000)
committerueno <ueno>
Sat, 27 Aug 2005 03:44:34 +0000 (03:44 +0000)
lisp/riece-button.el
lisp/riece-icon.el
lisp/riece-xface.el

index a2d4aac..ba15859 100644 (file)
@@ -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))
index ab1a07f..2064c23 100644 (file)
@@ -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
index 20b1f4d..30f7bb4 100644 (file)
@@ -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)