config/private: wrap init.el in file-directory-p check

This commit is contained in:
Henrik Lissner 2018-02-17 18:41:47 -05:00
parent ef4962c702
commit a1580e5919
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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