Skip to content

Commit

Permalink
tweak(init): don't fail when trying to load inexistant file in +load
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa authored Oct 25, 2023
1 parent a1c959b commit 18a47bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18a47bd

Please sign in to comment.