Subject: bug#9907: 24.0.90; eshell:for command destructivly modifies list variables

From: Thierry Volpiatto <[email-masked]>
Date: Sun, 30 Oct 2011 06:43:46 +0100

Stefan Monnier <[email-masked]> writes:

>> Do this two times. After the first time the value of `load-path' is
>> gone, because the lisp code implementing the loop destructively modifies
>> this list.  Idea of the following solution: Copy it.
>
> Thanks.  I've installed the patch below instead, which uses backquotes
> to clarify the code and simply avoids the in-place modification instead
> of copying the list.
Eshell hang forever with this patch when using initial example given by
Andy.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997