From: Mark Walters <markwalters1009@gmail.com>
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.cworth.org/git?a=commitdiff_plain;h=4c09e67adfc40d78dfab84c1ea29fd435dcbb689;p=obsolete%2Fnotmuch-old

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