mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Generate no message when activating rcirc-omit-mode
* rcirc.el (rcirc-omit-mode): Remove (message ...) expressions
This commit is contained in:
parent
59eaa30c90
commit
1967b9c474
1 changed files with 2 additions and 5 deletions
|
|
@ -215,11 +215,8 @@ Uninteresting lines are those whose responses are listed in
|
|||
`rcirc-omit-responses'."
|
||||
:lighter " Omit"
|
||||
(if rcirc-omit-mode
|
||||
(progn
|
||||
(add-to-invisibility-spec '(rcirc-omit . nil))
|
||||
(message "Rcirc-Omit mode enabled"))
|
||||
(remove-from-invisibility-spec '(rcirc-omit . nil))
|
||||
(message "Rcirc-Omit mode disabled"))
|
||||
(add-to-invisibility-spec '(rcirc-omit . nil))
|
||||
(remove-from-invisibility-spec '(rcirc-omit . nil)))
|
||||
(dolist (window (get-buffer-window-list (current-buffer)))
|
||||
(with-selected-window window
|
||||
(recenter (when (> (point) rcirc-prompt-start-marker) -1)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue