diff options
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index fdf3543..cbdec9a 100644 --- a/init.el +++ b/init.el | |||
@@ -374,6 +374,8 @@ | |||
374 | "Skip `show-paren-mode' in `erc-mode'." | 374 | "Skip `show-paren-mode' in `erc-mode'." |
375 | (unless (derived-mode-p 'erc-mode) | 375 | (unless (derived-mode-p 'erc-mode) |
376 | (apply f r)))) | 376 | (apply f r)))) |
377 | |||
378 | (add-hook 'kill-emacs-hook #'erc/disconnect) | ||
377 | 379 | ||
378 | (:hook erc-autoaway-mode | 380 | (:hook erc-autoaway-mode |
379 | erc-track-mode | 381 | erc-track-mode |