help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enviromental variables into dot.emacs


From: Jay Belanger
Subject: Re: enviromental variables into dot.emacs
Date: Sun, 14 Aug 2011 19:01:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Forgive me, but my elisp skills are quite low. Can I use a syntax like
> this?
>
> (setq var (getenv $VAR))

It will have to be (getenv "VAR"), and var will then be a string.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]