[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102940: * net/rcirc.el (rcirc-kill-b
From: |
Deniz Dogan |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102940: * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs. |
Date: |
Sat, 22 Jan 2011 17:21:38 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102940
author: Giorgos Keramidas <address@hidden>
committer: Deniz Dogan <address@hidden>
branch nick: emacs-trunk
timestamp: Sat 2011-01-22 17:21:38 +0100
message:
* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.
modified:
lisp/net/rcirc.el
=== modified file 'lisp/net/rcirc.el'
--- a/lisp/net/rcirc.el 2011-01-15 23:16:57 +0000
+++ b/lisp/net/rcirc.el 2011-01-22 16:21:38 +0000
@@ -1029,6 +1029,9 @@
(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-log-directory)
+ (rcirc-log-write))
(rcirc-clean-up-buffer "Killed buffer")))
(defun rcirc-change-major-mode-hook ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102940: * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.,
Deniz Dogan <=