emacs-devel
[Top][All Lists]
Advanced

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

cl-defmethod not compatible with defmethod?


From: Lars Ingebrigtsen
Subject: cl-defmethod not compatible with defmethod?
Date: Fri, 12 Feb 2016 16:53:49 +1100
User-agent: Gnus/ (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

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