From: Mark Walters Date: Mon, 1 Jul 2013 20:05:42 +0000 (+0100) Subject: pick: contrib: document notmuch-pick-message-window-kill-hook X-Git-Tag: 0.16_rc1~19 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4c09e67adfc40d78dfab84c1ea29fd435dcbb689 pick: contrib: document notmuch-pick-message-window-kill-hook --- diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 50686f05..fd68fc65 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -384,6 +384,7 @@ Does NOT change the database." t)) (defun notmuch-pick-message-window-kill-hook () + "Close the message pane when exiting the show buffer." (let ((buffer (current-buffer))) (when (and (window-live-p notmuch-pick-message-window) (eq (window-buffer notmuch-pick-message-window) buffer))