Subject: Re: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work
From: Stefan Monnier <[email-masked]>
To: Pierre Lorenzon <[email-masked]>
Cc: [email-masked]
Date: Sat, 13 Jun 2015 10:18:17 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

tags 20801 notabug
thanks

That's a simple bug in your code.  `call-next-method' is not a function
of cl-defmethod (it's a compatibility function of eieio-compat, IOW only
usable inside an EIEIO `defmethod').  Also, use #' rather than ' to
quote the function symbol since those function are lexically scoped,
which can't work for functions that are quoted with a single quote.

> (cl-defmethod say ((this daughter1)
> 		   &optional fmt &rest arguments)
>   (apply 'call-next-method
          ^^
          #'cl-

-- Stefan