* lisp/net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process

(Bug#6386).
This commit is contained in:
Deniz Dogan 2011-02-05 22:07:26 +01:00
parent ba70ab1cad
commit 827b77e90f
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
* net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
(Bug#6386).
2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the

View file

@ -2455,7 +2455,10 @@ keywords when no KEYWORD is given."
(rcirc-elapsed-lines process sender channel)))
(when (and last-activity-lines
(< last-activity-lines rcirc-omit-threshold))
(rcirc-last-line process sender channel)))))
(rcirc-last-line process sender channel))))
;; reset mode-line-process in case joining a channel with an
;; already open buffer (after getting kicked e.g.)
(setq mode-line-process nil))
(rcirc-print process sender "JOIN" channel "")