mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
config/private: wrap init.el in file-directory-p check
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"The directory that serves as the root of your external private config for
|
||||
Doom Emacs.")
|
||||
|
||||
(when (file-directory-p +private-config-path)
|
||||
;; Ensure `doom//reload-autoloads', `doom//byte-compile' and
|
||||
;; `doom-initialize-packages' will treat `+private-config-path' as the root of
|
||||
;; this module.
|
||||
@@ -15,4 +16,4 @@ Doom Emacs.")
|
||||
|
||||
;;
|
||||
(load (expand-file-name "init.el" +private-config-path)
|
||||
'noerror 'nomessage)
|
||||
:noerror :nomessage))
|
||||
|
Reference in New Issue
Block a user