[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setenv and let-binding process-environment
From: |
Michael Heerdegen |
Subject: |
Re: setenv and let-binding process-environment |
Date: |
Sun, 20 Mar 2016 15:39:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) |
Wolfgang Jenkner <address@hidden> writes:
> On Sun, Mar 20 2016, Michael Heerdegen wrote:
>
> > (let ((process-environment process-environment))
> > (setenv "A" "2"))
>
> This just establishes a new binding to the same object, so the code
> works as expected.
Ah! Shame on me - of course! I though this is somehow related to how
`sentenv' internally works, but it's just all normal Lisp.
Thanks,
Michael.