Quit all circe buffers on quit

This commit is contained in:
Case Duckworth 2021-10-14 20:34:46 -05:00
parent 2962eca9df
commit 0f7eb8bee9
1 changed files with 7 additions and 1 deletions

View File

@ -1261,7 +1261,13 @@ specific to most general, they are these:
nyan-mode nil
line-number-mode nil
column-number-mode nil
file-percentage-mode nil)))
file-percentage-mode nil))
(add-hook 'kill-emacs-hook
(defun circe-quit-all ()
(ignore-errors
(advice-remove 'circe-command-GQUIT 'circe-gquit@kill-buffer)
(circe-command-GQUIT "Quitting Emacs, bye!")))))
(setup (:straight (command-log-mode
:host github