aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ebd8af0b784..1dc31a24abd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -576,6 +576,22 @@ SQL buffer.
576 576
577* Lisp Changes in Emacs 21.3 577* Lisp Changes in Emacs 21.3
578 578
579** The `defmacro' form may contain declarations specifying how to
580indent the macro in Lisp mode and how to debug it with Edebug. The
581syntax of defmacro has been extended to
582
583 (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...)
584
585DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The
586declaration specifiers supported are:
587
588(indent INDENT)
589 Set NAME's `lisp-indent-function' property to INDENT.
590
591(edebug DEBUG)
592 Set NAME's `edebug-form-spec' property to DEBUG. (This is
593 equivalent to writing a `def-edebug-spec' for the macro.
594
579** Interactive commands can be remapped through keymaps. 595** Interactive commands can be remapped through keymaps.
580 596
581This is an alternative to using defadvice or substitute-key-definition 597This is an alternative to using defadvice or substitute-key-definition