summaryrefslogtreecommitdiff
path: root/doc/lispref/macros.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-16 15:40:58 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-16 15:40:58 +0200
commit5409aca9afdba0f8554163b63526a6b831879700 (patch)
treea6d0fc161948002c01f09f0a642cba386f0b5646 /doc/lispref/macros.texi
parente48f6dd3f79229d1dca96a691069eba45e90480c (diff)
downloademacs-5409aca9afdba0f8554163b63526a6b831879700.tar.gz
* doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
Diffstat (limited to 'doc/lispref/macros.texi')
-rw-r--r--doc/lispref/macros.texi6
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