summaryrefslogtreecommitdiff
path: root/lisp/init-git.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-git.el')
-rw-r--r--lisp/init-git.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 53a039e..b4c6d24 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -15,8 +15,10 @@ Useful for non-source code repos (e.g., Org mode note files)."
(eval-after-load 'magit
- '(magit-key-mode-insert-action 'committing
- "u" "Auto commit" 'km/magit-auto-commit))
+ '(progn
+ (magit-key-mode-insert-action 'committing
+ "u" "Auto commit" 'km/magit-auto-commit)
+ (diminish 'magit-auto-revert-mode)))
;; http://whattheemacsd.com/setup-magit.el-01.html
(defadvice magit-status (around magit-fullscreen activate)
@@ -28,4 +30,5 @@ Useful for non-source code repos (e.g., Org mode note files)."
magit-completing-read-function 'magit-ido-completing-read
magit-log-show-margin nil)
+
(provide 'init-git)