[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell and jobs
From: |
Stefan Monnier <address@hidden> |
Subject: |
Re: eshell and jobs |
Date: |
29 Jan 2003 14:11:50 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Kai" == Kai Großjohann <kai.grossjohann@uni-duisburg.de> writes:
> (let ((compilation-process-setup-function
> (list 'lambda nil
> (list 'setq 'process-environment
> (list 'quote (eshell-copy-environment))))))
The variable is not buffer-local and it doesn't seem to be let-bound
while compilation-process-setup-function is run, so I suspect that
this code might end up modifying the global value of process-environment.
Since this is copied more or less verbatim from eshell/em-unix.el,
maybe John can explain why it is safe to do thing this way ?
Stefan "who'd also use ` and , rather than `list'."