fix: doom-local-dir for profiles
- Ensure it ends in slash, - Ensure it includes the @-tag (e.g. default@latest), - Remove vestigial code path that is unreachable.
This commit is contained in:
parent
44f169740e
commit
22eace62d0
1 changed files with 2 additions and 4 deletions
|
@ -207,10 +207,8 @@ downloaded/installed by packages. Must end in a slash.")
|
||||||
(if-let (localdir (getenv-internal "DOOMLOCALDIR"))
|
(if-let (localdir (getenv-internal "DOOMLOCALDIR"))
|
||||||
(expand-file-name (file-name-as-directory localdir))
|
(expand-file-name (file-name-as-directory localdir))
|
||||||
(if doom-profile
|
(if doom-profile
|
||||||
(expand-file-name doom-profile doom-profiles-dir)
|
doom-profile-dir
|
||||||
(format "%s.local%s/"
|
(expand-file-name ".local/" doom-emacs-dir)))
|
||||||
doom-emacs-dir
|
|
||||||
(if doom-profile (concat "." doom-profile) ""))))
|
|
||||||
"Root directory for local storage.
|
"Root directory for local storage.
|
||||||
|
|
||||||
Use this as a storage location for this system's installation of Doom Emacs.
|
Use this as a storage location for this system's installation of Doom Emacs.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue