Skip to content

Commit 32a461d

Browse files
committed
revert(init): fixes an error on Emacs 28
This reverts commit 819c3cd.
1 parent b42e987 commit 32a461d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
(defun +load (&rest filename-parts)
4747
"Load a file, the FILENAME-PARTS are concatenated to form the file name."
48-
(let ((filename (file-truename (mapconcat #'identity filename-parts))))
48+
(let ((filename (file-truename (apply #'concat filename-parts))))
4949
(if (file-exists-p filename)
5050
(load filename nil (not minemacs-verbose))
5151
(user-error "[MinEmacs:Error] Cannot load \"%s\", the file doesn't exists." filename))))

0 commit comments

Comments
 (0)