Closed wangms168 closed 5 years ago
in the .emacs-profiles.el ("my-spacemacs" . ((user-emacs-directory . "~/.emacs-init/my-spacemacs") (env . (("SPACEMACSDIR" . "~/.emacs-init/my-spacemacs/.spacemacs.d")))))
Written
("my-spacemacs" . ((user-emacs-directory . "~/.emacs-init/my-spacemacs") (env . (("SPACEMACSDIR" . (concat user-emacs-directory ".spacsmacs.d"))))))
why not?
Hi @wangms168, the values for the env vars are not evaluated, so you can't use concat there. Just put in the whole string.
concat
Thank you
in the .emacs-profiles.el ("my-spacemacs" . ((user-emacs-directory . "~/.emacs-init/my-spacemacs") (env . (("SPACEMACSDIR" . "~/.emacs-init/my-spacemacs/.spacemacs.d")))))
Written
("my-spacemacs" . ((user-emacs-directory . "~/.emacs-init/my-spacemacs") (env . (("SPACEMACSDIR" . (concat user-emacs-directory ".spacsmacs.d"))))))
why not?