Skip to content

Commit

Permalink
tweak(core): use file-name-concat in +load
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 11, 2024
1 parent 8c3cb2c commit 08cc205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/me-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Each string is a regexp, matched against variable names to omit from

(defun +load (&rest filename-parts)
"Load a file, the FILENAME-PARTS are concatenated to form the file name."
(let ((filename (file-truename (apply #'concat filename-parts))))
(let ((filename (file-truename (apply #'file-name-concat filename-parts))))
(if (file-exists-p filename)
(if minemacs-debug-p
(load filename nil)
Expand Down

0 comments on commit 08cc205

Please sign in to comment.