summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2019-08-04 14:43:43 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-08-04 14:43:43 +0200
commitbbb41a2071824415d8cf3127d0e3bcd706f5a420 (patch)
treed73d705ff396bc15e7ff6823045d52a8b2b29401 /lisp/emacs-lisp/macroexp.el
parent9b7d25e481ebe2085aafbac983106d210b469b3a (diff)
downloademacs-bbb41a2071824415d8cf3127d0e3bcd706f5a420.tar.gz
emacs-bbb41a2071824415d8cf3127d0e3bcd706f5a420.tar.bz2
emacs-bbb41a2071824415d8cf3127d0e3bcd706f5a420.zip
Clarify macroexp-let* doc string
* lisp/emacs-lisp/macroexp.el (macroexp-let2*): Clarify doc string (bug#19371).
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
-rw-r--r--lisp/emacs-lisp/macroexp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index d27cc0a63c5..72198c44004 100644
--- a/lisp/emacs-lisp/macroexp.el
+++ b/lisp/emacs-lisp/macroexp.el
@@ -406,7 +406,10 @@ cases where EXP is a constant."
,bodysym)))))
(defmacro macroexp-let2* (test bindings &rest body)
- "Bind each binding in BINDINGS as `macroexp-let2' does."
+ "Multiple binding version of `macroexp-let2'.
+
+BINDINGS is a list of elements of the form (SYM EXP). Each EXP
+can refer to symbols specified earlier in the binding list."
(declare (indent 2) (debug (sexp (&rest (sexp form)) body)))
(pcase-exhaustive bindings
('nil (macroexp-progn body))