Skip to content

Commit 3627f8c

Browse files
committed
fix(backports): correct load path for back ports
1 parent 23d26f2 commit 3627f8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

init.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@
6969
;; stage to provide its functionality to the rest of the modules so we can use
7070
;; some new features when configuring them.
7171
(when (< emacs-major-version 29)
72-
(mapc (apply-partially #'+load minemacs-core-dir)
73-
(directory-files (concat minemacs-core-dir "backports") nil "\\.el$")))
72+
(let ((backports-dir (concat minemacs-core-dir "backports/")))
73+
(mapc (apply-partially #'+load backports-dir)
74+
(directory-files backports-dir nil "\\.el$"))))
7475

7576
(setq
7677
;; Enable debugging on error when Emacs is launched with the "--debug-init"

0 commit comments

Comments
 (0)