X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-tree.el;h=ef1ca4c552e5a98a079e81862241873e82cad53a;hb=b649b0c871e7fbfcd15a24d51b071bad2680e5d2;hp=b288c05d039309bdf91d179fca2e245e5ef02d3e;hpb=e333debbd8092d19a600d01d9ab49bdf2a81c072;p=notmuch diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index b288c05d..ef1ca4c5 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -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. @@ -1001,10 +1002,9 @@ message together with all its descendents." (defun notmuch-tree-insert-forest-thread (forest-thread) "Insert a single complete thread." - (let (tree-status) - ;; Reset at the start of each main thread. - (setq notmuch-tree-previous-subject nil) - (notmuch-tree-insert-thread forest-thread 0 tree-status))) + ;; Reset at the start of each main thread. + (setq notmuch-tree-previous-subject nil) + (notmuch-tree-insert-thread forest-thread 0 nil)) (defun notmuch-tree-insert-forest (forest) "Insert a forest of threads.