(cons (nreverse decls) body)))
(defun macroexp-progn (exps)
- "Return an expression equivalent to \\=`(progn ,@EXPS)."
+ "Return EXPS with `progn' prepended.
+If EXPS is a single expression, `progn' is not prepended."
(if (cdr exps) `(progn ,@exps) (car exps)))
(defun macroexp-unprogn (exp)
(if (eq (car-safe exp) 'progn) (or (cdr exp) '(nil)) (list exp)))
(defun macroexp-let* (bindings exp)
- "Return an expression equivalent to \\=`(let* ,bindings ,exp)."
+ "Return an expression equivalent to \\=`(let* ,BINDINGS ,EXP)."
(cond
((null bindings) exp)
((eq 'let* (car-safe exp)) `(let* (,@bindings ,@(cadr exp)) ,@(cddr exp)))