From 360d129a0c1ac0f190f41537db7a6d3d5f510954 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 23 Jun 2012 11:38:11 +0200 Subject: Always make gac-automatically-push buffer local. --- git-auto-commit-mode.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-auto-commit-mode.el b/git-auto-commit-mode.el index 45f5c82..70ee0ca 100644 --- a/git-auto-commit-mode.el +++ b/git-auto-commit-mode.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemsen ;; Created: Jan 9, 2012 -;; Version: 3 +;; Version: 4 ;; Keywords: vc ;; URL: http://ryuslash.org/git-auto-commit-mode/ @@ -37,11 +37,14 @@ ;; 3 - Shows the status when push finishes. +;; 4 - Make `gac-automatically-push' buffer local, always. + ;;; Code: (defvar gac-automatically-push nil "Control whether or not `git-auto-commit-mode' should also automatically push the changes.") +(make-variable-buffer-local 'gac-automatically-push) (defun gac-relative-file-name (filename) "Find the path to the filename relative to the git directory" -- cgit v1.2.3-54-g00ecf