Commit 80094035 authored by Giorgos Keramidas's avatar Giorgos Keramidas Committed by Deniz Dogan
Browse files

* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.

parent acf151a8
......@@ -1029,6 +1029,9 @@ If ALL is non-nil, update prompts in all IRC buffers."
(defun rcirc-kill-buffer-hook ()
"Part the channel when killing an rcirc buffer."
(when (eq major-mode 'rcirc-mode)
(when (and rcirc-log-flag
(rcirc-clean-up-buffer "Killed buffer")))
(defun rcirc-change-major-mode-hook ()
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