aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-11-16 22:28:35 +0100
committerDavid Bremner <david@tethera.net>2020-12-06 16:21:15 -0400
commit6db692302d1fafbc5337beb2e17d178744c097e8 (patch)
tree010df2d693e684e89eae78253da6a90da7a7f298
parente7b90eedad1c6f72c40c25f35c61a981ec1862f6 (diff)
emacs: remove unnecessary notmuch-tree-button-activate
Since [1: f8bdba37] no key is bound to this command and it is redundant because the behavior of `push-command' is identical when called as a command. 1: f8bdba37d3f4c877e05e17b5b1c7d2d512106538 emacs: tree: remove binding for pressing button in message pane
-rw-r--r--emacs/notmuch-tree.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 28c9372e..71b6387a 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -267,14 +267,6 @@ open (if the message pane is closed it does nothing)."
(symbol-value sym))
(symbol-value sym)))
-(defun notmuch-tree-button-activate (&optional button)
- "Activate BUTTON or button at point.
-
-This function does not give an error if there is no button."
- (interactive)
- (let ((button (or button (button-at (point)))))
- (when button (button-activate button))))
-
(defun notmuch-tree-close-message-pane-and (func)
"Close message pane and execute FUNC.