about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-08 07:59:34 -0500
committerCase Duckworth2021-09-08 07:59:34 -0500
commit83077bc62fe959fc2a17f2bd854c19e0fc93bcb8 (patch)
tree6f509b6940ad78dd2cbafd7c9cf42e3a56a205a4
parentChange acdw/reading-mode to reading-mode (diff)
downloademacs-83077bc62fe959fc2a17f2bd854c19e0fc93bcb8.tar.gz
emacs-83077bc62fe959fc2a17f2bd854c19e0fc93bcb8.zip
Change circe server kill option
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index 8263b05..af42a16 100644 --- a/init.el +++ b/init.el
@@ -235,13 +235,13 @@ AKA, DO NOT USE THIS FUNCTION!!!"
235 235
236 circe-command-QUIT :after 236 circe-command-QUIT :after
237 (defun circe-quit@kill-buffer (&rest _) 237 (defun circe-quit@kill-buffer (&rest _)
238 (let ((circe-server-killed-confirmation nil)) 238 (let ((circe-server-killed-confirmation 'kill-all))
239 (with-circe-server-buffer 239 (with-circe-server-buffer
240 (kill-buffer)))) 240 (kill-buffer))))
241 241
242 circe-command-GQUIT :after 242 circe-command-GQUIT :after
243 (defun circe-gquit@kill-buffer (&rest _) 243 (defun circe-gquit@kill-buffer (&rest _)
244 (let ((circe-server-killed-confirmation nil)) 244 (let ((circe-server-killed-confirmation 'kill-all))
245 (dolist (buf (circe-server-buffers)) 245 (dolist (buf (circe-server-buffers))
246 (with-current-buffer buf 246 (with-current-buffer buf
247 (kill-buffer)))))) 247 (kill-buffer))))))