diff options
author | Amin Bandali <bandali@kelar.org> | 2024-08-31 14:36:47 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2024-08-31 14:36:47 -0400 |
commit | ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3 (patch) | |
tree | b761ba8e611a736bb027af5d95e2f9ab2274ccae | |
parent | af02b553fbadc4dbee07063248c0e7cdcd2cce25 (diff) | |
download | configs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.tar.gz configs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.tar.xz configs-ced352e9e7f12c0dab976f3f0e4f71a0f77b32f3.zip |
Edit git's COMMIT_EDITMSG files in text-mode
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 3 |
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) |