From: bg66 Date: Tue, 24 Jun 2003 00:31:08 +0000 (+0000) Subject: * riece-unread.el (riece-unread-display-message-function): Don't check X-Git-Tag: riece-0_0-branchpoint~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52427b3519ec01d3f62aa4759977b5f738eaa6da;p=elisp%2Friece.git * riece-unread.el (riece-unread-display-message-function): Don't check `selected-window'. It doesn't work as expected. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44ce143..8178426 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-06-24 OHASHI Akira + + * riece-unread.el (riece-unread-display-message-function): Don't check + `selected-window'. It doesn't work as expected. + 2003-06-22 Yoichi NAKAYAMA * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el: diff --git a/lisp/riece-unread.el b/lisp/riece-unread.el index 2ca880e..6616872 100644 --- a/lisp/riece-unread.el +++ b/lisp/riece-unread.el @@ -37,9 +37,7 @@ (defun riece-unread-display-message-function (message) (unless (or (riece-message-own-p message) - (and (equal (riece-message-target message) riece-current-channel) - (eq (window-buffer (selected-window)) - (get-buffer riece-command-buffer)))) + (equal (riece-message-target message) riece-current-channel)) (setq riece-unread-channels (delete (riece-message-target message) riece-unread-channels)) (add-to-list 'riece-unread-channels