contrib: pick: bugfix: make the right variable buffer-local
authorMark Walters <markwalters1009@gmail.com>
Mon, 1 Jul 2013 07:54:01 +0000 (08:54 +0100)
committerDavid Bremner <bremner@debian.org>
Thu, 4 Jul 2013 03:37:30 +0000 (00:37 -0300)
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.

contrib/notmuch-pick/notmuch-pick.el

index cce3cb7244a401005016fbed401de70985d2b600..29815083c77c8717f9a8b5f8ebe50c558c7bd114 100644 (file)
@@ -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.")