pick: contrib: document notmuch-pick-message-window-kill-hook

This commit is contained in:
Mark Walters 2013-07-01 21:05:42 +01:00 committed by David Bremner
parent a8ade6b144
commit 4c09e67adf

View file

@ -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))