unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH 3/5] contrib: pick: bugfix: make the right variable buffer-local
Date: Mon,  1 Jul 2013 08:54:01 +0100	[thread overview]
Message-ID: <1372665243-7675-4-git-send-email-markwalters1009@gmail.com> (raw)
In-Reply-To: <1372665243-7675-1-git-send-email-markwalters1009@gmail.com>

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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index cce3cb7..2981508 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.")
-- 
1.7.9.1

  parent reply	other threads:[~2013-07-01  7:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01  7:53 [PATCH 0/5] Document notmuch-pick and some bugfixes Mark Walters
2013-07-01  7:53 ` [PATCH 1/5] contrib: pick: add a docstring for the main notmuch-pick function Mark Walters
2013-07-01  7:54 ` [PATCH 2/5] contrib: pick: add docstrings to all defvars Mark Walters
2013-07-01  7:54 ` Mark Walters [this message]
2013-07-01  7:54 ` [PATCH 4/5] contrib: pick: remove unused variable Mark Walters
2013-07-01  7:54 ` [PATCH 5/5] contrib: pick: remove unused function Mark Walters
2013-07-04  3:47 ` [PATCH 0/5] Document notmuch-pick and some bugfixes David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372665243-7675-4-git-send-email-markwalters1009@gmail.com \
    --to=markwalters1009@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).