diff options
Diffstat (limited to 'lisp/+circe.el')
-rw-r--r-- | lisp/+circe.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/+circe.el b/lisp/+circe.el index fc8d0be..7b11ce2 100644 --- a/lisp/+circe.el +++ b/lisp/+circe.el | |||
@@ -86,6 +86,13 @@ message the current topic.") | |||
86 | (with-current-buffer buf | 86 | (with-current-buffer buf |
87 | (+circe-quit@kill-buffer)))) | 87 | (+circe-quit@kill-buffer)))) |
88 | 88 | ||
89 | (defun +circe-quit-all@kill-emacs () | ||
90 | "Quit all circe buffers when killing Emacs." | ||
91 | (ignore-errors | ||
92 | (advice-remove 'circe-command-GQUIT | ||
93 | 'circe-gquit@kill-buffer) | ||
94 | (circe-command-GQUIT "Quitting Emacs, bye!"))) | ||
95 | |||
89 | ;;; Patches | 96 | ;;; Patches |
90 | 97 | ||
91 | (require 'el-patch) | 98 | (require 'el-patch) |