plexus / chemacs

Emacs profile switcher
652 stars 45 forks source link

.emacs-profiles.el #13

Closed wangms168 closed 5 years ago

wangms168 commented 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?

plexus commented 5 years ago

Hi @wangms168, the values for the env vars are not evaluated, so you can't use concat there. Just put in the whole string.

wangms168 commented 5 years ago

Thank you