Commit 8edd4bc2 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Fix previous macroexp-progn doc string fix

* lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc
string clarification.
parent 3bff466a
Pipeline #2726 failed with stage
in 58 minutes and 48 seconds
......@@ -319,8 +319,9 @@ definitions to shadow the loaded ones for use in file byte-compilation."
(cons (nreverse decls) body)))
(defun macroexp-progn (exps)
"Return EXPS with `progn' prepended.
If EXPS is a single expression, `progn' is not prepended."
"Return EXPS (a list of expressions) with `progn' prepended.
If EXPS is a list with a single expression, `progn' is not
prepended, but that expression is returned instead."
(if (cdr exps) `(progn ,@exps) (car exps)))
(defun macroexp-unprogn (exp)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment