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

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

bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO chan


From: Stefan Monnier
Subject: bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes
Date: Mon, 12 Jan 2015 00:05:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>>> Debugger entered--Lisp error: (void-function class-slot-initarg)
>> 
>> Indeed, this function doesn't exist any more: it was renamed to
>> eieio--class-slot-initarg, since it's an internal function (EIEIO was
>> horrible w.r.t namespace and w.r.t documenting what is internal and
>> what isn't.  It's far from perfect now, mind you, but I've tried to
>> make things a bit better in this respect)
>> 
>> Can you try to (defalias 'class-slot-initarg 'eieio--class-slot-initarg)
>> and see if that works around your problem?
>> 
>> 
>> Stefan

> (Sorry for out-of-order messages, just authenticated.)

> I tried the above, and loading helm now gives:

> Debugger entered--Lisp error: (wrong-type-argument eieio--class-p 
> helm-locate-source)

Ah, right, can you try with

   (defun class-slot-initarg (class-name)
     (eieio--class-slot-initarg (eieio--class-v class-name))


-- Stefan





reply via email to

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