1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

Fix previous macroexp-progn doc string fix

* lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc
string clarification.
This commit is contained in:
Lars Ingebrigtsen 2019-08-03 13:47:40 +02:00
parent 3bff466aa6
commit 8edd4bc22a

View File

@ -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)