From 2b8efd67832dd3e6e26dc4778d92e6e9fc9bbd42 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 25 May 2018 02:54:16 +0200 Subject: [PATCH] Error of private init.el doesn't exist (it really should!) --- core/core-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-packages.el b/core/core-packages.el index d939135c9..d73f14174 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -468,7 +468,7 @@ added, if the file exists." (let* ((init-file (expand-file-name "init.el" doom-private-dir)) (short-init-file (abbreviate-file-name init-file))) (if (not (file-exists-p init-file)) - (warn "%s doesn't exist" short-init-file) + (error "%s doesn't exist" short-init-file) (with-temp-buffer (insert-file-contents init-file) (when (re-search-forward "^\\s-*\\((doom! \\)" nil t)