diff options
-rw-r--r-- | custom/jao-custom-gnus.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el index f5f0c10..5707c67 100644 --- a/custom/jao-custom-gnus.el +++ b/custom/jao-custom-gnus.el @@ -14,6 +14,13 @@ ;; close gnus when closing emacs, but ask when exiting (setq gnus-interactive-exit t) +;;; Startup and kill +(setq gnus-interactive-exit t) + +(defun jao-quit-gnus () (gnus-group-exit) t) + +(add-hook 'kill-emacs-query-functions #'jao-quit-gnus) + ;;; Directories (defun jao-gnus-dir (dir) (expand-file-name dir gnus-home-directory)) |