mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch.el: Avoid warning about referencing free variable `button'.
I'm not even sure how the previous code worked at all---it seems clear it was supposed to be using `cite-button' rather than `button'.
This commit is contained in:
parent
9ec9662ec7
commit
a708ea627e
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ which this thread was originally shown."
|
||||||
(goto-char (button-start (previous-button (point)))))
|
(goto-char (button-start (previous-button (point)))))
|
||||||
|
|
||||||
(defun notmuch-toggle-invisible-action (cite-button)
|
(defun notmuch-toggle-invisible-action (cite-button)
|
||||||
(let ((invis-spec (button-get button 'invisibility-spec)))
|
(let ((invis-spec (button-get cite-button 'invisibility-spec)))
|
||||||
(if (invisible-p invis-spec)
|
(if (invisible-p invis-spec)
|
||||||
(remove-from-invisibility-spec invis-spec)
|
(remove-from-invisibility-spec invis-spec)
|
||||||
(add-to-invisibility-spec invis-spec)
|
(add-to-invisibility-spec invis-spec)
|
||||||
|
|
Loading…
Reference in a new issue