Skip to content

Commit

Permalink
fix(backports): correct load path for back ports
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 29, 2023
1 parent 23d26f2 commit 3627f8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
;; stage to provide its functionality to the rest of the modules so we can use
;; some new features when configuring them.
(when (< emacs-major-version 29)
(mapc (apply-partially #'+load minemacs-core-dir)
(directory-files (concat minemacs-core-dir "backports") nil "\\.el$")))
(let ((backports-dir (concat minemacs-core-dir "backports/")))
(mapc (apply-partially #'+load backports-dir)
(directory-files backports-dir nil "\\.el$"))))

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

0 comments on commit 3627f8c

Please sign in to comment.