From 64c0b24e3c34c954da6705558c7d4c08df34bb7d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Jul 2016 22:37:33 +0200 Subject: Add electric-quote-local-mode to git-commit-mode --- emacs/.emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index a06bad9..8c5e351 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -224,6 +224,12 @@ This is currently the data directory under the :interactive) (add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode)) +;;;;; Git commit mode: + +;; Enable `electric-quote-local-mode' to easily type nice-looking +;; quotes while writing commits. +(add-hook 'git-commit-mode-hook 'electric-quote-local-mode) + ;;;; Applications: ;;;;; Magit: -- cgit v1.2.3-54-g00ecf