summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-31 14:36:47 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-31 14:36:47 -0400
commitced352e9e7f12c0dab976f3f0e4f71a0f77b32f3 (patch)
treeb761ba8e611a736bb027af5d95e2f9ab2274ccae /.emacs.d/init.el
parentaf02b553fbadc4dbee07063248c0e7cdcd2cce25 (diff)
downloadconfigs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.tar.gz
configs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.tar.xz
configs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.zip
Edit git's COMMIT_EDITMSG files in text-mode
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 65cb9fe..0c35928 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -187,7 +187,8 @@ plain variables. This means that `setopt' will execute any
view-read-only t)
(add-to-list 'auto-mode-alist '("\\README.*" . text-mode))
(add-to-list 'auto-mode-alist '("\\.*rc$" . conf-mode))
- (add-to-list 'auto-mode-alist '("\\.bashrc$" . sh-mode)))
+ (add-to-list 'auto-mode-alist '("\\.bashrc$" . sh-mode))
+ (add-to-list 'auto-mode-alist '("\\COMMIT_EDITMSG$" . text-mode)))
(setq disabled-command-function nil)