comparison src/eval.c @ 95543:635ee5674343

(Fdefmacro): Doc fix.
author John Paul Wallington <jpw@pobox.com>
date Wed, 04 Jun 2008 14:07:07 +0000
parents d426dda989b7
children 79121a8f01e3
comparison
equal deleted inserted replaced
95542:dfffc14d8182 95543:635ee5674343
704 the function (lambda ARGLIST BODY...) is applied to 704 the function (lambda ARGLIST BODY...) is applied to
705 the list ARGS... as it appears in the expression, 705 the list ARGS... as it appears in the expression,
706 and the result should be a form to be evaluated instead of the original. 706 and the result should be a form to be evaluated instead of the original.
707 707
708 DECL is a declaration, optional, which can specify how to indent 708 DECL is a declaration, optional, which can specify how to indent
709 calls to this macro and how Edebug should handle it. It looks like this: 709 calls to this macro, how Edebug should handle it, and which argument
710 should be treated as documentation. It looks like this:
710 (declare SPECS...) 711 (declare SPECS...)
711 The elements can look like this: 712 The elements can look like this:
712 (indent INDENT) 713 (indent INDENT)
713 Set NAME's `lisp-indent-function' property to INDENT. 714 Set NAME's `lisp-indent-function' property to INDENT.
714 715
715 (debug DEBUG) 716 (debug DEBUG)
716 Set NAME's `edebug-form-spec' property to DEBUG. (This is 717 Set NAME's `edebug-form-spec' property to DEBUG. (This is
717 equivalent to writing a `def-edebug-spec' for the macro.) 718 equivalent to writing a `def-edebug-spec' for the macro.)
719
720 (doc-string ELT)
721 Set NAME's `doc-string-elt' property to ELT.
722
718 usage: (defmacro NAME ARGLIST [DOCSTRING] [DECL] BODY...) */) 723 usage: (defmacro NAME ARGLIST [DOCSTRING] [DECL] BODY...) */)
719 (args) 724 (args)
720 Lisp_Object args; 725 Lisp_Object args;
721 { 726 {
722 register Lisp_Object fn_name; 727 register Lisp_Object fn_name;