mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
contrib: pick: bugfix for pick splitting the window excessively
Previously if you carried on past the last message in a pick view pick would get confused and `forget' about the split pane and would try and re-split when moving up again. This was due to faulty logic in notmuch-pick-show-message: something that should have been in the (when message) clause was not. Thanks to jrollins for the bug report.
This commit is contained in:
parent
0f9c630a8a
commit
8f1a8c7b09
1 changed files with 2 additions and 2 deletions
|
@ -339,8 +339,8 @@ Does NOT change the database."
|
||||||
(with-selected-window notmuch-pick-message-window
|
(with-selected-window notmuch-pick-message-window
|
||||||
(setq current-prefix-arg '(4))
|
(setq current-prefix-arg '(4))
|
||||||
(setq buffer (notmuch-show id nil nil nil)))
|
(setq buffer (notmuch-show id nil nil nil)))
|
||||||
(notmuch-pick-tag-update-display (list "-unread")))
|
(notmuch-pick-tag-update-display (list "-unread"))
|
||||||
(setq notmuch-pick-message-buffer buffer)))
|
(setq notmuch-pick-message-buffer buffer))))
|
||||||
|
|
||||||
(defun notmuch-pick-show-message-out ()
|
(defun notmuch-pick-show-message-out ()
|
||||||
"Show the current message (in whole window)."
|
"Show the current message (in whole window)."
|
||||||
|
|
Loading…
Reference in a new issue