fixed #46 - fixed Emacs close window problem
This commit is contained in:
parent
401a913402
commit
5eced03c42
1 changed files with 3 additions and 2 deletions
|
@ -66,8 +66,9 @@
|
||||||
(mkdir erc-log-channels-directory t))
|
(mkdir erc-log-channels-directory t))
|
||||||
|
|
||||||
(setq erc-save-buffer-on-part t)
|
(setq erc-save-buffer-on-part t)
|
||||||
(defadvice save-buffers-kill-emacs (before save-logs (arg) activate)
|
;; FIXME - this advice is wrong and is causing problems on Emacs exit
|
||||||
(save-some-buffers t (lambda () (when (eq major-mode 'erc-mode) t))))
|
;; (defadvice save-buffers-kill-emacs (before save-logs (arg) activate)
|
||||||
|
;; (save-some-buffers t (lambda () (when (eq major-mode 'erc-mode) t))))
|
||||||
|
|
||||||
;; truncate long irc buffers
|
;; truncate long irc buffers
|
||||||
(erc-truncate-mode +1)
|
(erc-truncate-mode +1)
|
||||||
|
|
Loading…
Reference in a new issue