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

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

Re: EIEIO built in methods -- question


From: Eric Abrahamsen
Subject: Re: EIEIO built in methods -- question
Date: Sat, 15 Jun 2013 00:15:08 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

David Engster <deng@randomsample.de> writes:

> Eric Abrahamsen writes:
>> There's the eieio-singleton class provided as part of the package, which
>> does the same thing in principle: only lets you create one instance of
>> the class.
>
> [...]
>
>> This is the same idea, yes? 
>
> Yes. You can simply put eieio-singleton in your list of superclasses and
> you will inherit this behavior.
>
>> I don't know why "name" and "slots" aren't passed to
>> `call-next-method'.
>
> That's done by default. You only provide arguments to `call-next-method'
> if you'd like to override them.

Thanks! That's helps quite a bit.




reply via email to

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