[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it safe to modify a property list directly with PLIST-PUT?
From: |
Lennart Borgman |
Subject: |
Re: Is it safe to modify a property list directly with PLIST-PUT? |
Date: |
Sun, 26 Jul 2009 19:51:05 +0200 |
On Sun, Jul 26, 2009 at 6:58 PM, Teemu Likonen<tlikonen@iki.fi> wrote:
> On 2009-07-26 19:38 (+0300), Teemu Likonen wrote:
>
>> ((:foo "one" :bar "two")
>> (:foo "three" :bar "New value"))
>
>> The question: Is this reliable? Is it guaranteed that it will always
>> modify the list correctly? If not, how would you suggest doing it
>> instead?
>
> Ah, Emacs Lisp manual effectively says that it's not guaranteed. So,
> what would be the best way to modify single values in a list like the
> above?
setcar (maybe setcdr too).