notmuch.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
   commit d1ba5d63421557346b3f135823068e3ac38b89fa (patch)
   parent baaad2a2 NEWS: aspell(1)d few words
     tree 94401e57adf244a3f7933b320a31c70c2286ce3d
   author Dmitry Bogatov <kaction@disroot.org>  2024-03-26 19:47:22 -0400
committer David Bremner <david@tethera.net>     2024-04-04 08:16:36 -0300

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.
---
 emacs/notmuch-tree.el | 1 +
 1 file changed, 1 insertion(+)

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.


glossary
--------
Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

git clone https://yhetil.org/notmuch.git