[Top][All Lists]

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

Re: change in call-next-method

From: Andreas Schwab
Subject: Re: change in call-next-method
Date: Sun, 03 Jan 2016 13:06:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Stephen Leake <address@hidden> writes:

> I'm updating JDEE to Emacs 25. It has several functions like this:
> (cl-defmethod initialize-instance ((this jdee-jddocset) &rest rest)
>   (apply 'call-next-method rest)
>   (unless (oref this description)
>     (oset this :description
>         (if (oref this jdkp)
>             (format "JDK %s Javadoc" (oref this version))
>           (let ((file (jdee-url-file (oref this url))))
>             (if (string-match ".*\\/\\(.*?\\)\\/doc\\/api" file)
>                 (match-string 1 file)
>               (jdee-url-name (oref this url))))))))
> This breaks if I just change call-next-method to cl-call-next-method.

How do you change it?  I think you are supposed to call it as


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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