emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r117002: Correctly treat progn contents as tople


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r117002: Correctly treat progn contents as toplevel forms when byte compiling
Date: Tue, 22 Apr 2014 11:20:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>       `(defun ,member-name (,inst-arg &rest xargs)
>          ,doc
>          (declare (advertised-calling-convention (,inst-arg ,@xarglist)
>                                                  ,emacs-version))
>          (apply (cl-struct-slot-value ',iface-name ',member-name ,inst-arg)
>                 ,inst-arg xargs)))))

I think we'd be just as happy, with something like

   (defun method-call (method inst &rest args)
     (apply (funcall method inst) inst args))

instead of defining umpteen "method call wrappers".


        Stefan



reply via email to

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