Skip to content

Commit b663d26

Browse files
committed
fix: Force load el files
1 parent 62039e7 commit b663d26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisp/jcs-project.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ If optional argument DIR is nil, use variable `default-directory' instead."
8888
(files (cl-remove-if-not (lambda (filename)
8989
(string-suffix-p ".el" filename))
9090
files)))
91-
(mapc #'load-file files)
91+
(mapc (lambda (file)
92+
(ignore-errors (load-file file)))
93+
files)
9294
(user-error "[WARNING] Currently not under an Elisp project")))
9395

9496
(provide 'jcs-project)

0 commit comments

Comments
 (0)