From: bg66 Date: Tue, 9 Dec 2003 02:48:12 +0000 (+0000) Subject: * riece-mini.el (riece-mini-display-message-function): Don't set X-Git-Tag: riece-0_1_7~20 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=831d346984e754ca7ef4f808640538207b0f232b;p=elisp%2Friece.git * riece-mini.el (riece-mini-display-message-function): Don't set riece-mini-last-channel when message is not a privmsg. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c3ec83..b604b86 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-12-09 OHASHI Akira + + * riece-mini.el (riece-mini-display-message-function): Don't set + riece-mini-last-channel when message is not a privmsg. + 2003-12-04 OHASHI Akira * riece-server.el (riece-with-server-buffer): Store 'edebug-form-spec diff --git a/lisp/riece-mini.el b/lisp/riece-mini.el index e57393d..55317b4 100644 --- a/lisp/riece-mini.el +++ b/lisp/riece-mini.el @@ -64,7 +64,8 @@ (funcall riece-message-make-close-bracket-function message)) (global-name (funcall riece-message-make-global-name-function message))) - (setq riece-mini-last-channel (riece-message-target message)) + (unless (riece-message-type message) + (setq riece-mini-last-channel (riece-message-target message))) (riece-mini-message-no-log "%s" (concat (format-time-string "%H:%M") " " open-bracket global-name close-bracket