aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2002-03-24 20:03:28 +0000
committerGerd Moellmann2002-03-24 20:03:28 +0000
commitee9e0c25894d1f379e2ea38ac4f71fbae4cfee26 (patch)
tree96150bdf38dcd511ef7f65ba329412bce7c8c9ce
parent0af6533d453051039f65a2bfbd7a2f957576acd7 (diff)
downloademacs-ee9e0c25894d1f379e2ea38ac4f71fbae4cfee26.tar.gz
emacs-ee9e0c25894d1f379e2ea38ac4f71fbae4cfee26.zip
Declarations in macros.
-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