From: bg66 Date: Tue, 17 Jun 2003 04:57:23 +0000 (+0000) Subject: Fix last change. X-Git-Tag: riece-0_0-branchpoint~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5db8cf38945f195a23166578698752464cdd2e8b;p=elisp%2Friece.git Fix last change. --- diff --git a/lisp/riece-unread.el b/lisp/riece-unread.el index 2d1e7f3..af09f29 100644 --- a/lisp/riece-unread.el +++ b/lisp/riece-unread.el @@ -37,9 +37,9 @@ (defun riece-unread-display-message-function (message) (unless (or (riece-message-own-p message) - (equal (riece-message-target message) riece-current-channel) - (eq (window-buffer (selected-window)) - (get-buffer riece-command-buffer))) + (and (equal (riece-message-target message) riece-current-channel) + (eq (window-buffer (selected-window)) + (get-buffer riece-command-buffer)))) (setq riece-unread-channels (delete (riece-message-target message) riece-unread-channels)) (add-to-list 'riece-unread-channels