GNU bug report logs -
#20801
25.0.50; (apply 'cl-call-next-method does not work
Previous Next
Reported by: Pierre Lorenzon <devel <at> pollock-nageoire.net>
Date: Sat, 13 Jun 2015 06:54:02 UTC
Severity: normal
Tags: notabug
Found in version 25.0.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: Re: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work
Date: Sat, 13 Jun 2015 10:18:17 -0400
> 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
OK but 'cl-call-next-method is not better.
> usable inside an EIEIO `defmethod'). Also, use #' rather than ' to
OK that's the key point :
#'cl-call-next-method works fine.
Thanks.
Pierre
> 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
This bug report was last modified 10 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.