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

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

Re: EIEIO accessing class slots


From: pillule
Subject: Re: EIEIO accessing class slots
Date: Sat, 12 Jun 2021 12:35:37 +0200

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> This typo has been with us for more than 10 years ;-)
> Thanks,

Thanks you you !

>>> If you expect it to return the ((moirai-dired-p) ...)
>>> you specified in the `defclass`, then why not do:
>>>     (defvar foo-bar '((moirai-dired-p) ...))
>>> so you can get this value without having to ask the class?
>> Is that terrible to ask to the class ?
>
> To the extent that it doesn't exist in CLOS, then I think it's better to
> avoid using this functionality ;-)
>
>
>         Stefan

Ok I followed your advice and got it with a defcustom...

--



reply via email to

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