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:
parent
471028ce94
commit
d784509abf
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue