dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit 4f03a8c7eb817e3146f5901972e5355ee2cdcaf0
parent cf73ee9f176a1f473f313dccf9d4725cd1067ffe
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Thu,  2 Jun 2016 20:42:09 +0000

update .gnus.el

Exit gnus when exiting emacs. Fuck it.

Diffstat:
.gnus.el | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/.gnus.el b/.gnus.el @@ -89,3 +89,11 @@ ;; duh, add the vanity header. (require 'gnus-art) (setq gnus-visible-headers (concat gnus-visible-headers "\\|^User-Agent:")) + +;; exit gnus when exiting emacs +(defun rsd/exit-gnus () + "Exit gnus safely (quote unquote)." + (gnus-group-suspend) + (gnus-group-exit)) + +(add-hook 'kill-emacs-hook 'rsd/exit-gnus)