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.
This commit is contained in:
Mark Walters 2013-07-01 08:54:01 +01:00 committed by David Bremner
parent 3a8163e17f
commit 8c33fde83e

View file

@ -184,8 +184,8 @@ the child show buffer.")
This is used to try and make sure we don't close the message pane 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.") if the user has loaded a different buffer in that window.")
(make-variable-buffer-local 'notmuch-pick-message-buffer-name) (make-variable-buffer-local 'notmuch-pick-message-buffer)
(put 'notmuch-pick-message-buffer-name 'permanent-local t) (put 'notmuch-pick-message-buffer 'permanent-local t)
(defvar notmuch-pick-process-state nil (defvar notmuch-pick-process-state nil
"Parsing state of the search process filter.") "Parsing state of the search process filter.")