[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plist-put changes literal argument
From: |
Yuan Fu |
Subject: |
Re: Plist-put changes literal argument |
Date: |
Wed, 2 Sep 2020 20:18:12 -0400 |
>
> I also tried setcar, same result. So Elisp doesn’t copy arguments?
>
> Yuan
Ok, think more of it, it would be weird to make a full copy of cons (and other
non-primitive values) on function call. I wonder how do other languages deal
with this, because I never run into problems like this (except for in Python,
with its default argument values).
Yuan