From: Mark Walters Date: Mon, 1 Jul 2013 07:54:01 +0000 (+0100) Subject: contrib: pick: bugfix: make the right variable buffer-local X-Git-Tag: 0.16_rc1~24 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8c33fde83e244d0d1fa37666795bb0dc482299cf;hp=3a8163e17f25e4e4d57fe343fa20c4deaec0ed1a 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. --- 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.")