X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=emacs%2Fnotmuch-show.el;h=0954d87639813cbd0236ee1ce7b9847bd8703d3b;hb=5500868bd96f9461a230d16839591cb7ebc035df;hp=aded1ee745e8f4fe065245053010b83e21e970f0;hpb=6a9ae990990848ec99107f2e2e6b6ae12dcd33df;p=notmuch diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index aded1ee7..0954d876 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -32,7 +32,6 @@ (require 'notmuch-lib) (require 'notmuch-tag) -(require 'notmuch-query) (require 'notmuch-wash) (require 'notmuch-mua) (require 'notmuch-crypto) @@ -1366,7 +1365,7 @@ If no messages match the query return NIL." (notmuch-show-previous-subject "")) ;; Use results from the first query that returns some. (while (and (not forest) queries) - (setq forest (notmuch-query-get-threads + (setq forest (notmuch--run-show (append cli-args (list "'") (car queries) (list "'")))) (when (and forest notmuch-show-single-message) (setq forest (list (list (list forest)))))