Can .emacs read environment variables?

I wanted to load some files from a shell environment variable. Can we check the environment variable in .emacs?

+5
source share
1 answer

Yes, use the getenv function, for example. (getenv "my-var") .

+6
source

Source: https://habr.com/ru/post/1242225/


All Articles