Warn if the modules file is missing
This commit is contained in:
parent
c4e9a587c5
commit
00b48933bd
1 changed files with 4 additions and 2 deletions
6
init.el
6
init.el
|
@ -113,8 +113,10 @@ by Prelude.")
|
||||||
(message "Loading Prelude's modules...")
|
(message "Loading Prelude's modules...")
|
||||||
|
|
||||||
;; the modules
|
;; the modules
|
||||||
(when (file-exists-p prelude-modules-file)
|
(if (file-exists-p prelude-modules-file)
|
||||||
(load prelude-modules-file))
|
(load prelude-modules-file)
|
||||||
|
(message "Missing modules file %s" prelude-modules-file)
|
||||||
|
(message "You can get started by copying the bundled example file"))
|
||||||
|
|
||||||
;; config changes made through the customize UI will be store here
|
;; config changes made through the customize UI will be store here
|
||||||
(setq custom-file (expand-file-name "custom.el" prelude-personal-dir))
|
(setq custom-file (expand-file-name "custom.el" prelude-personal-dir))
|
||||||
|
|
Loading…
Reference in a new issue