* riece-xface.el (riece-xface-insinuate): Use
authorueno <ueno>
Mon, 8 Mar 2004 06:44:50 +0000 (06:44 +0000)
committerueno <ueno>
Mon, 8 Mar 2004 06:44:50 +0000 (06:44 +0000)
riece-user-list-mode-hook to setup riece-update-buffer-functions
in user-list buffer.

lisp/ChangeLog
lisp/riece-xface.el

index 676476b..c64af92 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-08  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-xface.el (riece-xface-insinuate): Use
+       riece-user-list-mode-hook to setup riece-update-buffer-functions
+       in user-list buffer.
+
 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
 
        * Riece: Version 0.2.0 released.
index dbb8a27..29a71ad 100644 (file)
   '(riece-lsdb))
 
 (defun riece-xface-insinuate ()
-  (add-hook 'riece-startup-hook
+  (add-hook 'riece-user-list-mode-hook
            (lambda ()
-             (with-current-buffer riece-user-list-buffer
-               (add-hook 'riece-update-buffer-functions
-                         'riece-xface-update-user-list-buffer t)))))
+             (add-hook 'riece-update-buffer-functions
+                       'riece-xface-update-user-list-buffer t t))))
 
 (provide 'riece-xface)