aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeniz Dogan2011-02-05 22:07:26 +0100
committerDeniz Dogan2011-02-05 22:07:26 +0100
commit827b77e90f4f3a86abfc82a07a8319f5f4cfb3d3 (patch)
treed40b18ddae414ca77bba7bdb615f5f2ee66b2b71
parentba70ab1cad8149357bd92e23af80c96c08be57ea (diff)
downloademacs-827b77e90f4f3a86abfc82a07a8319f5f4cfb3d3.tar.gz
emacs-827b77e90f4f3a86abfc82a07a8319f5f4cfb3d3.zip
* lisp/net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
(Bug#6386).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/rcirc.el5
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2c514d535a7..5625fd4dc16 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2
3 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
4 (Bug#6386).
5
12011-02-05 Stefan Monnier <monnier@iro.umontreal.ca> 62011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the 8 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 0e44508641b..87db130f1ea 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2455,7 +2455,10 @@ keywords when no KEYWORD is given."
2455 (rcirc-elapsed-lines process sender channel))) 2455 (rcirc-elapsed-lines process sender channel)))
2456 (when (and last-activity-lines 2456 (when (and last-activity-lines
2457 (< last-activity-lines rcirc-omit-threshold)) 2457 (< last-activity-lines rcirc-omit-threshold))
2458 (rcirc-last-line process sender channel))))) 2458 (rcirc-last-line process sender channel))))
2459 ;; reset mode-line-process in case joining a channel with an
2460 ;; already open buffer (after getting kicked e.g.)
2461 (setq mode-line-process nil))
2459 2462
2460 (rcirc-print process sender "JOIN" channel "") 2463 (rcirc-print process sender "JOIN" channel "")
2461 2464