[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: |
Eric Abrahamsen |
Subject: |
bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes |
Date: |
Mon, 12 Jan 2015 14:20:20 +0800 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> 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))
Looks like this is missing the "slot" argument, I got it to work okay
with:
(defun class-slot-initarg (class-name slot)
(eieio--class-slot-initarg (eieio--class-v class-name) slot))
- bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes, (continued)
bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes, Wolfgang Jenkner, 2015/01/10
bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes, Stefan Monnier, 2015/01/10