git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Sojka <sojkam1@fel.cvut.cz>
To: git@vger.kernel.org
Cc: "David Kågedal" <davidk@lysator.liu.se>,
	"Lawrence Mitchell" <wence@gmx.li>,
	"Rüdiger Sonderfeld" <ruediger@c-plusplus.de>,
	"Michal Sojka" <sojkam1@fel.cvut.cz>
Subject: [PATCH 1/4] git-blame.el: Fix buffer local declaration
Date: Tue,  2 Jul 2013 19:34:34 +0200	[thread overview]
Message-ID: <1372786477-13122-2-git-send-email-sojkam1@fel.cvut.cz> (raw)
In-Reply-To: <1372786477-13122-1-git-send-email-sojkam1@fel.cvut.cz>

git-blame-cache was declared buffer-local two times and
git-blame-idle-timer is global. The intended meaning was probably to make
git-blame-idle-timer buffer-local.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
---
 contrib/emacs/git-blame.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/emacs/git-blame.el b/contrib/emacs/git-blame.el
index e671f6c..18ce241 100644
--- a/contrib/emacs/git-blame.el
+++ b/contrib/emacs/git-blame.el
@@ -200,7 +200,7 @@ minor mode.")
 
 (defvar git-blame-idle-timer nil
   "An idle timer that updates the blame")
-(make-variable-buffer-local 'git-blame-cache)
+(make-variable-buffer-local 'git-blame-idle-timer)
 
 (defvar git-blame-update-queue nil
   "A queue of update requests")
-- 
1.8.3.1

  reply	other threads:[~2013-07-02 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 17:34 [PATCH 0/4] Emacs: git-blame.el fixes and enhancements Michal Sojka
2013-07-02 17:34 ` Michal Sojka [this message]
2013-07-02 17:34 ` [PATCH 2/4] git-blame.el: Make all line prefixes to have the same length Michal Sojka
2013-07-02 17:34 ` [PATCH 3/4] git-blame.el: Allow displaying author/commit times Michal Sojka
2013-07-02 17:34 ` [PATCH 4/4] git-blame.el: Change the default prefix format Michal Sojka

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

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

  git send-email \
    --in-reply-to=1372786477-13122-2-git-send-email-sojkam1@fel.cvut.cz \
    --to=sojkam1@fel.cvut.cz \
    --cc=davidk@lysator.liu.se \
    --cc=git@vger.kernel.org \
    --cc=ruediger@c-plusplus.de \
    --cc=wence@gmx.li \
    /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.
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 NNTP newsgroup(s).