Skip to content

Commit

Permalink
revert(init): fixes an error on Emacs 28
Browse files Browse the repository at this point in the history
This reverts commit 819c3cd.
  • Loading branch information
abougouffa committed Jun 23, 2023
1 parent b42e987 commit 32a461d
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 @@ -45,7 +45,7 @@

(defun +load (&rest filename-parts)
"Load a file, the FILENAME-PARTS are concatenated to form the file name."
(let ((filename (file-truename (mapconcat #'identity filename-parts))))
(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))))
Expand Down

0 comments on commit 32a461d

Please sign in to comment.