emacs-devel
[Top][All Lists]
Advanced

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

Re: running ./temacs


From: Dan Nicolaescu
Subject: Re: running ./temacs
Date: Thu, 18 Nov 2010 16:20:08 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> [Hacking around this so that Vprocess_environment is initialized when
>>> not dumping makes ./temacs work correctly]
>> In case anyone wants to see the difference in behavior, here's the ugly hack:
>
> Could you explain your code (i.e. why you need those strcmp hacks, why
> you need to set&unset initialized, ...)?

set_initial_environment only initializes Vprocess_environment if
`initialized' is set.

The ugly hack only sets `initialized' when not dumping, so that if you
run temacs without dumping Vprocess_environment gets initialized.
If Vprocess_environment is not initialized (getenv "HOME") returns
nil, any many things go bad from there.



reply via email to

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