Enable electric-quote-local-mode for git commits

This commit is contained in:
Tom Willemse 2016-03-14 12:29:35 +01:00
parent 6742cab104
commit fe8a770097

View file

@ -664,6 +664,9 @@ MODE1 is enabled and vice-versa."
;; Update diff-hl when magit changes something. ;; Update diff-hl when magit changes something.
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t) (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 (oni:add-hooks 'texinfo-mode-hook
#'outline-minor-mode) #'outline-minor-mode)