X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=a8a4c8e56c2a16b9d9f2c303fa8831bc0232208d;hb=da5029e2ac8dfd8a839de1f6a4701237d0b34db1;hp=5bf99846dd5ffe33cfeaf8a3bcc2c9bd4f8507f0;hpb=7edba1d17d45a3f8bdc25ca22efeaf309bc87da6;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 5bf99846..a8a4c8e5 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -1,4 +1,4 @@ -;; notmuch.el --- run notmuch within emacs +;;; notmuch.el --- run notmuch within emacs ;; ;; Copyright © Carl Worth ;; @@ -18,6 +18,9 @@ ;; along with Notmuch. If not, see . ;; ;; Authors: Carl Worth +;; Homepage: https://notmuchmail.org/ + +;;; Commentary: ;; This is an emacs-based interface to the notmuch mail system. ;; @@ -47,6 +50,8 @@ ;; kudos: Notmuch list (subscription is not ;; required, but is available from http://notmuchmail.org). +;;; Code: + (eval-when-compile (require 'cl)) (require 'mm-view) (require 'message) @@ -458,7 +463,11 @@ no messages in the region then return nil." (notmuch-search-properties-in-region :subject beg end)) (defun notmuch-search-show-thread (&optional elide-toggle) - "Display the currently selected thread." + "Display the currently selected thread. + +With a prefix argument, invert the default value of +`notmuch-show-only-matching-messages' when displaying the +thread." (interactive "P") (let ((thread-id (notmuch-search-find-thread-id)) (subject (notmuch-search-find-subject))) @@ -1060,3 +1069,5 @@ notmuch buffers exist, run `notmuch'." (let ((init-file (locate-file notmuch-init-file '("/") (get-load-suffixes)))) (if init-file (load init-file nil t t)))) + +;;; notmuch.el ends here