mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Fix #4172: different build path per Emacs version
To prevent byte-code incompatibilities. We'll need to make 'doom purge' smarter about purging builds for other versions of Emacs.
This commit is contained in:
@ -79,6 +79,10 @@ uses a straight or package.el command directly).")
|
|||||||
|
|
||||||
(setq straight-base-dir doom-local-dir
|
(setq straight-base-dir doom-local-dir
|
||||||
straight-repository-branch "develop"
|
straight-repository-branch "develop"
|
||||||
|
;; Since byte-code is rarely compatible across different versions of
|
||||||
|
;; Emacs, it's best we build them in separate directories, per emacs
|
||||||
|
;; version.
|
||||||
|
straight-build-dir (format "build-%s" emacs-version)
|
||||||
straight-cache-autoloads nil ; we already do this, and better.
|
straight-cache-autoloads nil ; we already do this, and better.
|
||||||
;; Doom doesn't encourage you to modify packages in place. Disabling this
|
;; Doom doesn't encourage you to modify packages in place. Disabling this
|
||||||
;; makes 'doom sync' instant (once everything set up), which is much nicer
|
;; makes 'doom sync' instant (once everything set up), which is much nicer
|
||||||
|
Reference in New Issue
Block a user