diff options
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index 69aafac..208cfe8 100644 --- a/init.el +++ b/init.el | |||
@@ -368,6 +368,8 @@ | |||
368 | "Skip `show-paren-mode' in `erc-mode'." | 368 | "Skip `show-paren-mode' in `erc-mode'." |
369 | (unless (derived-mode-p 'erc-mode) | 369 | (unless (derived-mode-p 'erc-mode) |
370 | (apply f r)))) | 370 | (apply f r)))) |
371 | |||
372 | (add-hook 'kill-emacs-hook #'erc/disconnect) | ||
371 | 373 | ||
372 | (:hook erc-autoaway-mode | 374 | (:hook erc-autoaway-mode |
373 | erc-track-mode | 375 | erc-track-mode |