mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05: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:
committed by
Henrik Lissner
parent
8a064ffaec
commit
5aed9baa29
@ -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)
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user