mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
refactor: nconc -> add-to-list
The doom-*.el files will soon be moved to separate core modules (whose load order the user can dictate); when this happens, this block could be re-evaluated anytime the user calls `doom/reload` or otherwise reloads the active profile.
This commit is contained in:
parent
50b9afbb2d
commit
cc18218889
1 changed files with 2 additions and 4 deletions
|
|
@ -246,10 +246,8 @@ tell you about it. Very annoying. This prevents that."
|
||||||
;;
|
;;
|
||||||
;;; Extra file extensions to support
|
;;; Extra file extensions to support
|
||||||
|
|
||||||
(nconc
|
(add-to-list 'auto-mode-alist '("/LICENSE\\'" . text-mode))
|
||||||
auto-mode-alist
|
(add-to-list 'auto-mode-alist '("rc\\'" . conf-mode))
|
||||||
'(("/LICENSE\\'" . text-mode)
|
|
||||||
("rc\\'" . conf-mode)))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue