From a0d8010249ec4862d64ede6699b18a069fe94ef2 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 26 May 2023 16:38:16 +0200 Subject: Default to git commit -v --- tw/home/files/emacs-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tw/home/files/emacs-init.el') diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index 06d03d7b..dcf7e784 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -62,7 +62,7 @@ (mapc (apply-partially #'add-to-list 'auto-mode-alist) `((,(rx (or bos "/") "PKGBUILD" eos) . sh-mode) (,(rx ".install" eos) . sh-mode) - (,(rx (or bos "/") "COMMIT_EDITMSG" eos) . text-mode) + (,(rx (or bos "/") "COMMIT_EDITMSG" eos) . diff-mode) ; useful for `git commit -v' (,(rx bos "/tmp/neomutt-") . mail-mode) (,(rx ".eml" eos) . mail-mode) (,(rx "." (1+ anything) "rc" eos) . conf-unix-mode))) -- cgit v1.2.3