aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorDmitry Bogatov <kaction@disroot.org>2024-03-26 19:47:22 -0400
committerDavid Bremner <david@tethera.net>2024-04-04 08:16:36 -0300
commitd1ba5d63421557346b3f135823068e3ac38b89fa (patch)
tree94401e57adf244a3f7933b320a31c70c2286ce3d /emacs
parentbaaad2a267bab387af56bc65237eaf9418034801 (diff)
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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-tree.el1
1 files changed, 1 insertions, 0 deletions
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.