summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-03-14 12:29:35 +0100
committerGravatar Tom Willemse2016-03-14 12:29:35 +0100
commitfe8a77009715f1b09f3af7fa65e924169d06d138 (patch)
tree5dd687a977d9b5a07f525ce59a431dac47f13280 /emacs
parent6742cab10414132cb2376a1086e2a81252e2be89 (diff)
downloaddotfiles-fe8a77009715f1b09f3af7fa65e924169d06d138.tar.gz
dotfiles-fe8a77009715f1b09f3af7fa65e924169d06d138.zip
Enable electric-quote-local-mode for git commits
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c76b77f..71e92dc 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -664,6 +664,9 @@ MODE1 is enabled and vice-versa."
;; Update diff-hl when magit changes something.
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t)
+;; Turn on electric-quote mode in git commit buffers
+(add-hook 'git-commit-mode-hook 'electric-quote-local-mode)
+
(oni:add-hooks 'texinfo-mode-hook
#'outline-minor-mode)