]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-tree.el
emacs: notmuch-tree: mark the initial message at point as read
[notmuch] / emacs / notmuch-tree.el
index eb7ea941f5c6a04c291ad426595c2193ee219862..ef1ca4c552e5a98a079e81862241873e82cad53a 100644 (file)
@@ -954,7 +954,8 @@ unchanged ADDRESS if parsing fails."
       (goto-char (point-max))
       (forward-line -1)
       (when notmuch-tree-open-target
-       (notmuch-tree-show-message-in)))))
+       (notmuch-tree-show-message-in)
+       (notmuch-tree-command-hook)))))
 
 (defun notmuch-tree-insert-tree (tree depth tree-status first last)
   "Insert the message tree TREE at depth DEPTH in the current thread.