Commit 483d1ab6 authored by Grégoire Jadi's avatar Grégoire Jadi Committed by Leo Liu
Browse files

* net/rcirc.el (rcirc-omit-mode): Fix recenter error.

Fixes: debbugs:17769
parent cf10b349
2014-06-19 Grégoire Jadi <daimrod@gmail.com>
* net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
 
* play/bubbles.el (bubbles--initialize, bubbles--show-scores)
......
......@@ -1903,7 +1903,9 @@ Uninteresting lines are those whose responses are listed in
(message "Rcirc-Omit mode enabled"))
(remove-from-invisibility-spec '(rcirc-omit . nil))
(message "Rcirc-Omit mode disabled"))
(recenter (when (> (point) rcirc-prompt-start-marker) -1)))
(dolist (window (get-buffer-window-list (current-buffer)))
(with-selected-window window
(recenter (when (> (point) rcirc-prompt-start-marker) -1)))))
(defun rcirc-switch-to-server-buffer ()
"Switch to the server buffer associated with current channel buffer."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment