mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
pick: contrib: document notmuch-pick-message-window-kill-hook
This commit is contained in:
parent
a8ade6b144
commit
4c09e67adf
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ Does NOT change the database."
|
||||||
t))
|
t))
|
||||||
|
|
||||||
(defun notmuch-pick-message-window-kill-hook ()
|
(defun notmuch-pick-message-window-kill-hook ()
|
||||||
|
"Close the message pane when exiting the show buffer."
|
||||||
(let ((buffer (current-buffer)))
|
(let ((buffer (current-buffer)))
|
||||||
(when (and (window-live-p notmuch-pick-message-window)
|
(when (and (window-live-p notmuch-pick-message-window)
|
||||||
(eq (window-buffer notmuch-pick-message-window) buffer))
|
(eq (window-buffer notmuch-pick-message-window) buffer))
|
||||||
|
|
Loading…
Reference in a new issue