fix: dotspacemacs-directory is expected to end with a slash (#15662)
This commit is contained in:
parent
861ea131e1
commit
c8c7c85909
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ their configuration.")
|
|||
(defconst dotspacemacs-directory
|
||||
(let* ((spacemacs-dir-env (getenv "SPACEMACSDIR"))
|
||||
(spacemacs-dir (if spacemacs-dir-env
|
||||
(expand-file-name spacemacs-dir-env)
|
||||
(expand-file-name ".spacemacs.d" user-home-directory))))
|
||||
(expand-file-name (concat spacemacs-dir-env "/"))
|
||||
(expand-file-name ".spacemacs.d/" user-home-directory))))
|
||||
(when (file-directory-p spacemacs-dir)
|
||||
spacemacs-dir))
|
||||
"Directory containing Spacemacs customizations (defaults to nil).
|
||||
|
|
Reference in a new issue