X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/23564c2e6d6599e9f4eb0d04d42b7d2d7212d239..228374502b83afd5a84952bf017f42a10fc8ef28:/dot/gnus.el diff --git a/dot/gnus.el b/dot/gnus.el index 7276865..0cfe467 100644 --- a/dot/gnus.el +++ b/dot/gnus.el @@ -74,6 +74,10 @@ ;; We may have the misfortune to talk to an Exchange server. (setq imap-enable-exchange-bug-workaround t) +;; Clean up properly when closing the summary. +(defadvice gnus-summary-exit (before mdw-kill-debris compile activate) + (gnus-summary-expand-window)) + ;;;-------------------------------------------------------------------------- ;;; Local configuration.