]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: notmuch-tree-get-match: No longer define as command
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 10 Jan 2021 14:01:10 +0000 (15:01 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 15 Jan 2021 10:47:48 +0000 (06:47 -0400)
When called from code, then this function returns non-nil when the
message at point is a matched message.  However it does nothing at all
to present that information to the user when it called interactively.
It is therefore safe to conclude that nobody is using this as a
command.

emacs/notmuch-tree.el

index 95d5f642c0de22bf829bd6ad57d3d4bb620d71af..13007a134d0a9f4e8cd40a7a57bb2f9663884ee1 100644 (file)
@@ -421,7 +421,6 @@ Some useful entries are:
 
 (defun notmuch-tree-get-match ()
   "Return whether the current message is a match."
-  (interactive)
   (notmuch-tree-get-prop :match))
 
 ;;; Update display