aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2013-07-01 08:54:01 +0100
committerGravatar David Bremner <bremner@debian.org>2013-07-04 00:37:30 -0300
commit8c33fde83e244d0d1fa37666795bb0dc482299cf (patch)
tree616a2360c569ab5741cd9996cad3347357a3ba2e /contrib
parent3a8163e17f25e4e4d57fe343fa20c4deaec0ed1a (diff)
contrib: pick: bugfix: make the right variable buffer-local
The variable notmuch-pick-message-buffer should be buffer local but instead notmuch-pick-message-buffer-name (a non-existent variable) was made buffer local.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/notmuch-pick/notmuch-pick.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index cce3cb72..29815083 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -184,8 +184,8 @@ the child show buffer.")
This is used to try and make sure we don't close the message pane
if the user has loaded a different buffer in that window.")
-(make-variable-buffer-local 'notmuch-pick-message-buffer-name)
-(put 'notmuch-pick-message-buffer-name 'permanent-local t)
+(make-variable-buffer-local 'notmuch-pick-message-buffer)
+(put 'notmuch-pick-message-buffer 'permanent-local t)
(defvar notmuch-pick-process-state nil
"Parsing state of the search process filter.")