plexus / chemacs

Emacs profile switcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.emacs-profiles.el

wangms168 opened this issue · comments

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.

Thank you