emacs-devel
[Top][All Lists]
Advanced

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

Weird &key arglists in ibuf-macs.el


From: Juanma Barranquero
Subject: Weird &key arglists in ibuf-macs.el
Date: Mon, 10 May 2004 14:34:22 +0200

ibuf-macs.el contains a few macros with CL-style arglists of the form

  (defmacro* macro1 (arg1 arg2 (&key arg3 arg4)...)

instead of

  (defmacro* macro1 (arg1 arg2 &key arg3 arg4...)

I'm not sure that's a legal CL lambda list, but in any case
help-make-usage and company don't grok them:

ELISP> (documentation (defmacro* test1 (arg1 &key arg2) "No doc"))
"No doc\n\n(fn ARG1 &key ARG2)"
ELISP> (documentation (defmacro* test1 (arg1 (&key arg2)) "No doc"))
"No doc\n\n(fn ARG1 (&KEY arg2))"



                                                                Juanma






reply via email to

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