From: Lars Ingebrigtsen Date: Sat, 3 Aug 2019 11:47:40 +0000 (+0200) Subject: Fix previous macroexp-progn doc string fix X-Git-Tag: emacs-27.0.90~1736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8edd4bc22af5a255dc4941469cd30a835dcd1234;p=emacs.git Fix previous macroexp-progn doc string fix * lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc string clarification. --- diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el index 9b29d0058c0..d27cc0a63c5 100644 --- a/lisp/emacs-lisp/macroexp.el +++ b/lisp/emacs-lisp/macroexp.el @@ -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)