From: Dmitry Bogatov Date: Tue, 26 Mar 2024 23:47:22 +0000 (-0400) Subject: emacs: Mark "notmuch-tree" command for autoloading X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=d1ba5d63421557346b3f135823068e3ac38b89fa emacs: Mark "notmuch-tree" command for autoloading Some people (e.g: me) prefer to read their email with threaded representation by default. Without this commit, I have to run "notmuch-search" (autoloaded) first to get "notmuch-tree" loaded. --- diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 7fa403fc..718a3879 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -1195,6 +1195,7 @@ default sort order is defined by `notmuch-search-oldest-first'." (setq notmuch-search-oldest-first (not notmuch-search-oldest-first)) (notmuch-tree-refresh-view)) +;;;###autoload (defun notmuch-tree (&optional query query-context target buffer-name open-target unthreaded parent-buffer oldest-first) "Display threads matching QUERY in tree view.