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:
Henrik Lissner
2024-12-06 21:14:11 -05:00
parent 50b9afbb2d
commit cc18218889

View File

@ -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)))
;; ;;