diff options
author | Mark Walters <markwalters1009@gmail.com> | 2012-12-09 20:17:29 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-11 10:01:18 -0400 |
commit | 8f1a8c7b094e22e10cf88193d5243e62ae9c8da8 (patch) | |
tree | 6144aa67bfd2dc5889ee23fb9ff1ad47db34346c /contrib | |
parent | 0f9c630a8aeefc01d85cb62bbfb82051305ebf6a (diff) |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/notmuch-pick/notmuch-pick.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 755cbbce..cf026af3 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -339,8 +339,8 @@ Does NOT change the database." (with-selected-window notmuch-pick-message-window (setq current-prefix-arg '(4)) (setq buffer (notmuch-show id nil nil nil))) - (notmuch-pick-tag-update-display (list "-unread"))) - (setq notmuch-pick-message-buffer buffer))) + (notmuch-pick-tag-update-display (list "-unread")) + (setq notmuch-pick-message-buffer buffer)))) (defun notmuch-pick-show-message-out () "Show the current message (in whole window)." |