From 18a47bdf4a5572ac8ff393a520fd163d554d855f Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Wed, 25 Oct 2023 17:14:07 +0200 Subject: [PATCH] tweak(init): don't fail when trying to load inexistant file in `+load` --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 6d701486..9002473b 100644 --- a/init.el +++ b/init.el @@ -48,7 +48,7 @@ (let ((filename (file-truename (apply #'concat filename-parts)))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) - (user-error "[MinEmacs:Error] Cannot load \"%s\", the file doesn't exists." filename)))) + (message "[MinEmacs:Error] Cannot load \"%s\", the file doesn't exists." filename)))) ;; HACK: Most core and third-party packages depends on the ;; `user-emacs-directory' variable to store some cache information and generated