fix: profile loader file path

Should load the byte-compiled version of the file (and produce one
without a redundant emacs version suffix).

Amend: 9ae7aa1122
This commit is contained in:
Henrik Lissner
2024-11-01 03:00:02 -04:00
parent 8a7b20c43d
commit bbf733c5e0
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
(expand-file-name
(format (or (getenv-internal "DOOMPROFILELOADFILE")
(file-name-concat (if windows? "doomemacs/data" "doom")
"profiles.%d.el"))
"profiles.%d.elc"))
emacs-major-version)
(or (if windows? (getenv-internal "LOCALAPPDATA"))
(getenv-internal "XDG_DATA_HOME")