[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9907: 24.0.90; eshell:for command destructivly modifies list variabl
From: |
Thierry Volpiatto |
Subject: |
bug#9907: 24.0.90; eshell:for command destructivly modifies list variables |
Date: |
Sun, 30 Oct 2011 06:43:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> 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