diff options
| author | Richard M. Stallman | 2005-02-27 00:01:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-27 00:01:41 +0000 |
| commit | ffa11b51731ae0797126095196fe3c6cc1067f03 (patch) | |
| tree | 9522030c0b25eeec8343abbc0693a9b4272f647e | |
| parent | 8a36c244a57d8f6f8f7828552ef6a4226667d203 (diff) | |
| download | emacs-ffa11b51731ae0797126095196fe3c6cc1067f03.tar.gz emacs-ffa11b51731ae0797126095196fe3c6cc1067f03.zip | |
(Expansion): Cleanup.
(Indenting Macros): indent-spec allows ints, not floats.
| -rw-r--r-- | lispref/macros.texi | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lispref/macros.texi b/lispref/macros.texi index 9a0ef696662..0a1bf942c29 100644 --- a/lispref/macros.texi +++ b/lispref/macros.texi | |||
| @@ -140,13 +140,10 @@ uses this feature. | |||
| 140 | 140 | ||
| 141 | @defun macroexpand-all form &optional environment | 141 | @defun macroexpand-all form &optional environment |
| 142 | @cindex macro expansion in entire form | 142 | @cindex macro expansion in entire form |
| 143 | |||
| 144 | @code{macroexpand-all} expands macros like @code{macroexpand}, but | 143 | @code{macroexpand-all} expands macros like @code{macroexpand}, but |
| 145 | will look for and expand all macros in @var{form}, not just at the | 144 | will look for and expand all macros in @var{form}, not just at the |
| 146 | top-level. | 145 | top-level. If no macros are expanded, the return value is @code{eq} |
| 147 | 146 | to @var{form}. | |
| 148 | In emacs-lisp, @code{macroexpand-all} guarantees that if no macros | ||
| 149 | are expanded, the return value will be @code{eq} to @var{form}. | ||
| 150 | 147 | ||
| 151 | Repeating the example used for @code{macroexpand} above with | 148 | Repeating the example used for @code{macroexpand} above with |
| 152 | @code{macroexpand-all}, we see that @code{macroexpand-all} @emph{does} | 149 | @code{macroexpand-all}, we see that @code{macroexpand-all} @emph{does} |
| @@ -715,7 +712,7 @@ This is the same as no property---use the standard indentation pattern. | |||
| 715 | @item @code{defun} | 712 | @item @code{defun} |
| 716 | Handle this function like a @samp{def} construct: treat the second | 713 | Handle this function like a @samp{def} construct: treat the second |
| 717 | line as the start of a @dfn{body}. | 714 | line as the start of a @dfn{body}. |
| 718 | @item a number, @var{number} | 715 | @item an integer, @var{number} |
| 719 | The first @var{number} arguments of the function are | 716 | The first @var{number} arguments of the function are |
| 720 | @dfn{distinguished} arguments; the rest are considered the body | 717 | @dfn{distinguished} arguments; the rest are considered the body |
| 721 | of the expression. A line in the expression is indented according to | 718 | of the expression. A line in the expression is indented according to |