diff options
author | Case Duckworth | 2021-10-14 20:34:46 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-14 20:34:46 -0500 |
commit | 0f7eb8bee927165e975eb43a0f92acb855033ef9 (patch) | |
tree | 86d402f08609d1039abe2658b308a5f2cab30128 | |
parent | Reënable circe-chat@set-prompt (diff) | |
download | emacs-0f7eb8bee927165e975eb43a0f92acb855033ef9.tar.gz emacs-0f7eb8bee927165e975eb43a0f92acb855033ef9.zip |
Quit all circe buffers on quit
-rw-r--r-- | init.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/init.el b/init.el index e015729..c2a3579 100644 --- a/init.el +++ b/init.el | |||
@@ -1261,7 +1261,13 @@ specific to most general, they are these: | |||
1261 | nyan-mode nil | 1261 | nyan-mode nil |
1262 | line-number-mode nil | 1262 | line-number-mode nil |
1263 | column-number-mode nil | 1263 | column-number-mode nil |
1264 | file-percentage-mode nil))) | 1264 | file-percentage-mode nil)) |
1265 | |||
1266 | (add-hook 'kill-emacs-hook | ||
1267 | (defun circe-quit-all () | ||
1268 | (ignore-errors | ||
1269 | (advice-remove 'circe-command-GQUIT 'circe-gquit@kill-buffer) | ||
1270 | (circe-command-GQUIT "Quitting Emacs, bye!"))))) | ||
1265 | 1271 | ||
1266 | (setup (:straight (command-log-mode | 1272 | (setup (:straight (command-log-mode |
1267 | :host github | 1273 | :host github |