emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/eval.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/eval.c
Date: Sun, 07 Jul 2002 06:07:57 -0400

Index: emacs/src/eval.c
diff -c emacs/src/eval.c:1.189 emacs/src/eval.c:1.190
*** emacs/src/eval.c:1.189      Tue May 28 16:24:32 2002
--- emacs/src/eval.c    Sun Jul  7 06:07:32 2002
***************
*** 646,657 ****
  
  DEFUN ("defmacro", Fdefmacro, Sdefmacro, 2, UNEVALLED, 0,
         doc: /* Define NAME as a macro.
! The definition is (macro lambda ARGLIST [DOCSTRING] BODY...).
  When the macro is called, as in (NAME ARGS...),
  the function (lambda ARGLIST BODY...) is applied to
  the list ARGS... as it appears in the expression,
  and the result should be a form to be evaluated instead of the original.
! usage: (defmacro NAME ARGLIST [DOCSTRING] BODY...)  */)
       (args)
       Lisp_Object args;
  {
--- 646,669 ----
  
  DEFUN ("defmacro", Fdefmacro, Sdefmacro, 2, UNEVALLED, 0,
         doc: /* Define NAME as a macro.
! The actual definition looks like
!  (macro lambda ARGLIST [DOCSTRING] [DECL] BODY...).
  When the macro is called, as in (NAME ARGS...),
  the function (lambda ARGLIST BODY...) is applied to
  the list ARGS... as it appears in the expression,
  and the result should be a form to be evaluated instead of the original.
! 
! DECL is a declaration, optional, which can specify how to indent
! calls to this macro and how Edebug should handle it.  It looks like this:
!   (declare SPECS...)
! The elements can look like this:
!   (indent INDENT)
!       Set NAME's `lisp-indent-function' property to INDENT.
! 
!   (edebug DEBUG)
!       Set NAME's `edebug-form-spec' property to DEBUG.  (This is
!       equivalent to writing a `def-edebug-spec' for the macro.
! usage: (defmacro NAME ARGLIST [DOCSTRING] [DECL] BODY...)  */)
       (args)
       Lisp_Object args;
  {



reply via email to

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