help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edit a cl-struct by copy, or, slot-value for cl-structs


From: Michael Heerdegen
Subject: Re: Edit a cl-struct by copy, or, slot-value for cl-structs
Date: Fri, 29 Oct 2021 23:37:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuan Fu <casouri@gmail.com> writes:

> (make-xxx :slot1 (xxx-slot1 obj)
>           :slot2 (xxx-slot2 obj)
>           :slot3 newvalue)

Sorry for the dumb question, but isn't that more or less the same as
`xxx-copy' plus modifying slot3 of the copy?


Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]