[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 5409aca: * doc/lispref/macros.texi (Expansion): D
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 5409aca: * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'. |
Date: |
Sat, 16 Jan 2016 13:41:37 +0000 |
branch: emacs-25
commit 5409aca9afdba0f8554163b63526a6b831879700
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
---
doc/lispref/macros.texi | 6 ++++++
etc/NEWS | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi
index 7f3b670..3f9db8c 100644
--- a/doc/lispref/macros.texi
+++ b/doc/lispref/macros.texi
@@ -160,6 +160,12 @@ expand the embedded calls to @code{inc}:
@end defun
address@hidden 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.
address@hidden defun
+
@node Compiling Macros
@section Macros and Byte Compilation
@cindex byte-compiling macros
diff --git a/etc/NEWS b/etc/NEWS
index 9b9e693..9a107f8 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1428,7 +1428,8 @@ evaluated (and should return a string) when the closure
is built.
+++
** define-inline provides a new way to define inlinable functions.
-** New function `macroexpand-1' to perform a single step of macroexpansion.
++++
+** New function `macroexpand-1' to perform a single step of macro expansion.
** Some "x-*" were obsoleted:
*** x-select-text is renamed gui-select-text.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 5409aca: * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.,
Eli Zaretskii <=