aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-30 23:09:08 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-30 23:09:08 -0800
commita708ea627ea89f69ffc799bc2428edd389c7013a (patch)
treed56c79124caa7e21bea767cf225433e83edfaeb1 /notmuch.el
parent9ec9662ec74e1ed2f569d77008324d2a272749ae (diff)
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'.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch.el b/notmuch.el
index 28ef5c6b..94a63844 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -545,7 +545,7 @@ which this thread was originally shown."
(goto-char (button-start (previous-button (point)))))
(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)
(remove-from-invisibility-spec invis-spec)
(add-to-invisibility-spec invis-spec)