emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/etc/NEWS


From: Gerd Moellmann
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS
Date: Sun, 24 Mar 2002 15:03:28 -0500

Index: emacs/etc/NEWS
diff -c emacs/etc/NEWS:1.636 emacs/etc/NEWS:1.637
*** emacs/etc/NEWS:1.636        Sun Mar 24 11:30:54 2002
--- emacs/etc/NEWS      Sun Mar 24 15:03:28 2002
***************
*** 576,581 ****
--- 576,597 ----
  
  * Lisp Changes in Emacs 21.3
  
+ ** The `defmacro' form may contain declarations specifying how to
+ indent the macro in Lisp mode and how to debug it with Edebug.  The
+ syntax of defmacro has been extended to
+ 
+    (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...)
+ 
+ DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'.  The
+ declaration specifiers supported are:
+ 
+ (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.
+ 
  ** Interactive commands can be remapped through keymaps.
  
  This is an alternative to using defadvice or substitute-key-definition



reply via email to

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