mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
dev: replace .doomrc w/ .doom.el
Also replaces the project's .doomrc file with a .doom (which isn't used or recognized just yet, but will be later).
This commit is contained in:
6
bin/doom
6
bin/doom
@ -298,13 +298,13 @@ SEE ALSO:
|
||||
(defcli-group! :prefix (if (cdr key) (format "+%s" (cdr key)))
|
||||
(doom-load (file-name-sans-extension path))))))))
|
||||
|
||||
;; Allow per-project Doom settings in .doom files.
|
||||
;; Execute arbitrary CLI configuration in a local .doom.el file
|
||||
(let (doomrc)
|
||||
(cond
|
||||
((setq doomrc (getenv "DOOMRC"))
|
||||
(load! doomrc default-directory))
|
||||
((setq doomrc (locate-dominating-file default-directory ".doomrc"))
|
||||
(load! ".doomrc" doomrc)))))
|
||||
((setq doomrc (locate-dominating-file default-directory ".doom.el"))
|
||||
(load! ".doom.el" doomrc)))))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user