mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-30 12:22:31 -08:00
fix: auto-mode-alist: make /*rc rule low-priority
The broad /*rc rule, which is intended as a fallback, should be added to
the end of auto-mode-alist, not the beginning. Otherwise, for example,
it overrides the rule for .zshrc files.
Amend: cc18218889
This commit is contained in:
parent
8a064ffaec
commit
5aed9baa29
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ tell you about it. Very annoying. This prevents that."
|
|||
;;; Extra file extensions to support
|
||||
|
||||
(add-to-list 'auto-mode-alist '("/LICENSE\\'" . text-mode))
|
||||
(add-to-list 'auto-mode-alist '("rc\\'" . conf-mode))
|
||||
(add-to-list 'auto-mode-alist '("rc\\'" . conf-mode) 'append)
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue