From ccff884113100bf42cb330d8feccbbd4a82d45e6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 17 Dec 2021 18:31:24 -0600 Subject: Bunches o changes I was gonna try to like, make these atomic, but oops --- lisp/+circe.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lisp/+circe.el') 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.") (with-current-buffer buf (+circe-quit@kill-buffer)))) +(defun +circe-quit-all@kill-emacs () + "Quit all circe buffers when killing Emacs." + (ignore-errors + (advice-remove 'circe-command-GQUIT + 'circe-gquit@kill-buffer) + (circe-command-GQUIT "Quitting Emacs, bye!"))) + ;;; Patches (require 'el-patch) -- cgit 1.4.1-21-gabe81