Function: macroexp-let2*

macroexp-let2* is a macro defined in macroexp.el.gz.

Signature

(macroexp-let2* TEST BINDINGS &rest BODY)

Documentation

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.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/macroexp.el.gz
(defmacro macroexp-let2* (test bindings &rest body)
  "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))
    (`((,var ,exp) . ,tl)
     `(macroexp-let2 ,test ,var ,exp
        (macroexp-let2* ,test ,tl ,@body)))))