mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:f8bdba37d3
emacs: tree: remove binding for pressing button in message pane
This commit is contained in:
parent
e7b90eedad
commit
6db692302d
1 changed files with 0 additions and 8 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue