From 00b48933bd9107273943fa7e278d05c7dc6840b0 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 27 Jan 2015 08:33:16 +0200 Subject: [PATCH] Warn if the modules file is missing --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index e42619a..425d651 100644 --- a/init.el +++ b/init.el @@ -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))