diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-01-16 15:40:58 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-01-16 15:40:58 +0200 |
commit | 5409aca9afdba0f8554163b63526a6b831879700 (patch) | |
tree | a6d0fc161948002c01f09f0a642cba386f0b5646 /doc/lispref/macros.texi | |
parent | e48f6dd3f79229d1dca96a691069eba45e90480c (diff) | |
download | emacs-5409aca9afdba0f8554163b63526a6b831879700.tar.gz emacs-5409aca9afdba0f8554163b63526a6b831879700.tar.bz2 emacs-5409aca9afdba0f8554163b63526a6b831879700.zip |
* doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
Diffstat (limited to 'doc/lispref/macros.texi')
-rw-r--r-- | doc/lispref/macros.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi index 7f3b670e328..3f9db8ce375 100644 --- a/doc/lispref/macros.texi +++ b/doc/lispref/macros.texi @@ -160,6 +160,12 @@ expand the embedded calls to @code{inc}: @end defun +@defun macroexpand-1 form &optional environment +This function expands macros like @code{macroexpand}, but it only +performs one step of the expansion: if the result is another macro +call, @code{macroexpand-1} will not expand it. +@end defun + @node Compiling Macros @section Macros and Byte Compilation @cindex byte-compiling macros |