From 52427b3519ec01d3f62aa4759977b5f738eaa6da Mon Sep 17 00:00:00 2001 From: bg66 Date: Tue, 24 Jun 2003 00:31:08 +0000 Subject: [PATCH] * riece-unread.el (riece-unread-display-message-function): Don't check `selected-window'. It doesn't work as expected. --- lisp/ChangeLog | 5 +++++ lisp/riece-unread.el | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) 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 -- 1.7.10.4