From fe8a77009715f1b09f3af7fa65e924169d06d138 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 14 Mar 2016 12:29:35 +0100 Subject: [PATCH] Enable electric-quote-local-mode for git commits --- emacs/.emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) 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)