diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-11-16 22:28:35 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-12-06 16:21:15 -0400 |
| commit | 6db692302d1fafbc5337beb2e17d178744c097e8 (patch) | |
| tree | 010df2d693e684e89eae78253da6a90da7a7f298 | |
| parent | e7b90eedad1c6f72c40c25f35c61a981ec1862f6 (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.el | 8 |
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. |
