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

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

Re: How to save custom variable programmatically?


From: Michael Heerdegen
Subject: Re: How to save custom variable programmatically?
Date: Tue, 17 Nov 2020 17:38:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> I remember from Common Lisp about `defstruc' and more than that I did
> not use. But I remember `defstruct' preparing various methods
> (probably methods) automatically.

For the sake of completeness: In Emacs Lisp we also have structs via
`cl-defstruct'.  These are not part of EIEIO (though EIEIO knows how to
handle them).  Accessors, constructors etc are ordinary functions and
macros.

Independent of EIEIO and structs Emacs Lisp has also generic functions
and methods.

Michael.





reply via email to

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