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.
This commit is contained in:
Dmitry Bogatov 2024-03-26 19:47:22 -04:00 committed by David Bremner
parent baaad2a267
commit d1ba5d6342

View file

@ -1195,6 +1195,7 @@ default sort order is defined by `notmuch-search-oldest-first'."
(setq notmuch-search-oldest-first (not notmuch-search-oldest-first)) (setq notmuch-search-oldest-first (not notmuch-search-oldest-first))
(notmuch-tree-refresh-view)) (notmuch-tree-refresh-view))
;;;###autoload
(defun notmuch-tree (&optional query query-context target buffer-name (defun notmuch-tree (&optional query query-context target buffer-name
open-target unthreaded parent-buffer oldest-first) open-target unthreaded parent-buffer oldest-first)
"Display threads matching QUERY in tree view. "Display threads matching QUERY in tree view.