]> git.notmuchmail.org Git - notmuch/blobdiff - contrib/notmuch-pick/notmuch-pick.el
contrib: pick: bugfix for pick splitting the window excessively
[notmuch] / contrib / notmuch-pick / notmuch-pick.el
index 755cbbce008bafb8aeae3ade71f3ef19c123caca..cf026af3b23d0d5783b60199c28fa9b77b13bc74 100644 (file)
@@ -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)."