emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: Eli Zaretskii
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Thu, 22 Oct 2015 18:20:06 +0300

> From: Random832 <address@hidden>
> Date: Thu, 22 Oct 2015 09:41:20 -0400
> 
> David Kastrup <address@hidden> writes:
> > Eli Zaretskii <address@hidden> writes:
> >> OK, but that still boils down to binding some more variables.  If we
> >> want to help users with these factoids, we could have a small database
> >> of the known Posix shells and their requirements.
> 
> I couldn't find an easy way to do let-style binding of environment
> variables, though I didn't look very hard.

Something like this:

  (let ((process-environment process-environment))
    (setq process-environment (cons "FOO=bar" process-environment))
    ...

or like this:

  (let ((process-environment
         (nconc (list "FOO=bar" "OTHER=no") process-environment)))
    ...



reply via email to

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