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: Wed, 11 Nov 2020 11:55:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> #+begin_src emacs-lisp
>   (defclass my-persistent (eieio-persistent)
>     ((data :initarg :data)))
>
> I got:
>
> eieio-defclass-internal: Given parent class eieio-persistent is not a
> class

Sorry, I didn't check what you should `require'.  I also didn't check
now, but with the following the definition works for me in emacs -Q:

  (require 'eieio)
  (require 'eieio-base)


Michael.




reply via email to

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