diff options
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -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 | ||
| 580 | indent the macro in Lisp mode and how to debug it with Edebug. The | ||
| 581 | syntax of defmacro has been extended to | ||
| 582 | |||
| 583 | (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...) | ||
| 584 | |||
| 585 | DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The | ||
| 586 | declaration 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 | ||
| 581 | This is an alternative to using defadvice or substitute-key-definition | 597 | This is an alternative to using defadvice or substitute-key-definition |