[OS X Emacs] Re: Environment variables and Aquamacs 2.0

Norman Gray norman at astro.gla.ac.uk
Wed May 26 18:10:15 EDT 2010


On 2010 May 26, at 20:44, David Reitter wrote:

> Either way, I'm concerned with fixing the bug in Aquamacs if there is any

Just by the way, I've only now spotted that the OP said:

> >However, (running Aquamacs from a Dock icon, 10.6.3) this does not
> > appear to be the case.
> > If I do e.g.
> > M: (getenv USER)
> > I get
> > Debugger entered--Lisp error: (void-variable USER)
> >  (getenv USER)
> >  eval((getenv USER))
> >  eval-expression((getenv USER) nil)
> > I get the same for other environment variables that I have explicitly
> > exported in my ~/.bash_profile

Is the problem simply that this should be (getenv "USER"), not (getenv USER)?

It could be that there's actually nothing wrong here!

Norman


-- 
Norman Gray  :  http://nxg.me.uk




More information about the MacOSX-Emacs mailing list