Skip to content

Commit

Permalink
Warn if the modules file is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jan 27, 2015
1 parent c4e9a58 commit 00b4893
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ by Prelude.")
(message "Loading Prelude's modules...")

;; the modules
(when (file-exists-p prelude-modules-file)
(load prelude-modules-file))
(if (file-exists-p 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
(setq custom-file (expand-file-name "custom.el" prelude-personal-dir))
Expand Down

0 comments on commit 00b4893

Please sign in to comment.