mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -248,7 +248,7 @@ caches them in `doom--profiles'. If RELOAD? is non-nil, refresh the cache."
|
||||
(print-group!
|
||||
(or (let ((byte-compile-warnings (if init-file-debug byte-compile-warnings))
|
||||
(byte-compile-dest-file-function
|
||||
(lambda (_) (format "%s.%d.elc" (file-name-sans-extension file) emacs-major-version))))
|
||||
(lambda (_) (format "%s.elc" (file-name-sans-extension file)))))
|
||||
(byte-compile-file file))
|
||||
;; Do it again? So the errors/warnings are visible?
|
||||
;; (let ((byte-compile-warnings t))
|
||||
|
Reference in New Issue
Block a user