* liece-channel.el (liece-channel-read-functions): Rename from
authorbg66 <bg66>
Sun, 17 Sep 2000 14:33:29 +0000 (14:33 +0000)
committerbg66 <bg66>
Sun, 17 Sep 2000 14:33:29 +0000 (14:33 +0000)
`liece-channel-read-hook'.

* liece-handle.el (liece-channel-unread-functions): Rename from
`liece-channel-unread-hook'.

* liece-emacs.el (toplevel): Use them.

* liece-xemacs.el (toplevel): Ditto.

lisp/ChangeLog
lisp/liece-channel.el
lisp/liece-emacs.el
lisp/liece-handle.el
lisp/liece-xemacs.el

index a38c9b9..3b5d6e5 100644 (file)
@@ -1,3 +1,15 @@
+2000-09-17  Akira Ohashi  <bg66@luck.gr.jp>
+
+       * liece-channel.el (liece-channel-read-functions): Rename from
+       `liece-channel-read-hook'.
+
+       * liece-handle.el (liece-channel-unread-functions): Rename from
+       `liece-channel-unread-hook'.
+
+       * liece-emacs.el (toplevel): Use them.
+
+       * liece-xemacs.el (toplevel): Ditto.
+
 2000-09-17   Daiki Ueno  <ueno@unixuser.org>
 
        * liece-make.el (make-liece-sample-files): Abolish.
index 1bfe07b..aecc8ec 100644 (file)
@@ -511,7 +511,7 @@ If NOSW is non-nil do not switch to newly created channel."
     (when (liece-channel-unread-p chnl)
       (setq liece-channel-unread-list
            (delete chnl liece-channel-unread-list))
-      (run-hook-with-args 'liece-channel-read-hook chnl))
+      (run-hook-with-args 'liece-channel-read-functions chnl))
     (and buffer window
         (with-current-buffer buffer
           (set-window-buffer window buffer)
index 09a9b64..dbd82a1 100644 (file)
   (liece-emacs-splash))
 
 (fset 'liece-redisplay-unread-mark 'liece-emacs-redisplay-unread-mark)
-(add-hook 'liece-channel-unread-hook 'liece-emacs-unread-mark)
-(add-hook 'liece-channel-read-hook 'liece-emacs-read-mark)
+(add-hook 'liece-channel-unread-functions 'liece-emacs-unread-mark)
+(add-hook 'liece-channel-read-functions 'liece-emacs-read-mark)
 
 (provide 'liece-emacs)
 
index 06a07e5..18bbfb0 100644 (file)
                  (delete chnl liece-channel-unread-list)))
        (setq liece-channel-unread-list
              (cons chnl liece-channel-unread-list))
-      (run-hook-with-args 'liece-channel-unread-hook chnl)))
+      (run-hook-with-args 'liece-channel-unread-functions chnl)))
 
     (if (and (liece-nick-equal chnl liece-real-nickname)
             (not (liece-nick-equal prefix liece-current-chat-partner)))
index bdc114f..c30b265 100644 (file)
@@ -622,8 +622,8 @@ If ARG is given, don't hide splash buffer."
 (add-hook 'liece-nick-replace-hook 'liece-xemacs-set-drop-functions)
 
 (fset 'liece-redisplay-unread-mark 'liece-xemacs-redisplay-unread-mark)
-(add-hook 'liece-channel-unread-hook 'liece-xemacs-unread-mark)
-(add-hook 'liece-channel-read-hook 'liece-xemacs-read-mark)
+(add-hook 'liece-channel-unread-functions 'liece-xemacs-unread-mark)
+(add-hook 'liece-channel-read-functions 'liece-xemacs-read-mark)
 
 (provide 'liece-xemacs)