]> git.cworth.org Git - notmuch/commitdiff
emacs: Mark "notmuch-tree" command for autoloading
authorDmitry Bogatov <kaction@disroot.org>
Tue, 26 Mar 2024 23:47:22 +0000 (19:47 -0400)
committerDavid Bremner <david@tethera.net>
Thu, 4 Apr 2024 11:16:36 +0000 (08:16 -0300)
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.

emacs/notmuch-tree.el

index 7fa403fc481a7ea96978c06b231dbd064c2e8112..718a387926219ce5e7c097261f329ae067be1098 100644 (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))
   (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.