emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-defmethod not compatible with defmethod?


From: Eric Abrahamsen
Subject: Re: cl-defmethod not compatible with defmethod?
Date: Fri, 12 Feb 2016 14:50:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> If I have the following, everything works fine:
>
> (defmethod initialize-instance :AFTER ((this registry-db) slots)
>
> But I get a warning about defmethod being obsolete.
>
> However, with the following:
>
> (cl-defmethod initialize-instance :AFTER ((this registry-db) slots)
>
> compilation stops with
>
> gnus/nnregistry.el:34:1:Error: Unsupported qualifiers in function 
> initialize-instance: (:AFTER)
>
> when trying to require the file where that cl-defmethod is...

The qualifiers are supposed to be lower case now.

(Sorry, I've been doing a bunch of eieio stuff recently...)




reply via email to

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