emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8edd4bc: Fix previous macroexp-progn doc string fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 8edd4bc: Fix previous macroexp-progn doc string fix
Date: Sat, 3 Aug 2019 07:49:05 -0400 (EDT)

branch: master
commit 8edd4bc22af5a255dc4941469cd30a835dcd1234
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix previous macroexp-progn doc string fix
    
    * lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc
    string clarification.
---
 lisp/emacs-lisp/macroexp.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index 9b29d00..d27cc0a 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]