diff options
author | 2013-04-09 02:29:00 +0200 | |
---|---|---|
committer | 2013-04-09 02:29:00 +0200 | |
commit | 3b04c88eb6eafe7befbda6714c5f31b6c40fde09 (patch) | |
tree | 85da4c823787824f7f9e436dfb9dc83db6a3a4ad /git-auto-commit-mode.el | |
parent | 82e65c6d50c7e752f8eed60fe4f41848f5984cb8 (diff) | |
download | git-auto-commit-mode-3b04c88eb6eafe7befbda6714c5f31b6c40fde09.tar.gz git-auto-commit-mode-3b04c88eb6eafe7befbda6714c5f31b6c40fde09.zip |
Use defcustom for gac-automatically-push-p
Diffstat (limited to 'git-auto-commit-mode.el')
-rw-r--r-- | git-auto-commit-mode.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/git-auto-commit-mode.el b/git-auto-commit-mode.el index 96a082d..355cbcf 100644 --- a/git-auto-commit-mode.el +++ b/git-auto-commit-mode.el @@ -31,9 +31,17 @@ ;;; Code: -(defvar gac-automatically-push-p nil +(defgroup git-auto-commit-mode nil + "Customization options for `git-auto-commit-mode'." + :group 'external) + +(defcustom gac-automatically-push-p nil "Control whether or not `git-auto-commit-mode' should also - automatically push the changes.") + automatically push the changes committed after each save." + :tag "Automatically push" + :group 'git-auto-commit-mode + :type 'boolean + :risky t) (make-variable-buffer-local 'gac-automatically-push-p) (defun gac-relative-file-name (filename) |