emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 d671cd57c4: Update cl-struct-sequence-type doc string


From: Lars Ingebrigtsen
Subject: emacs-28 d671cd57c4: Update cl-struct-sequence-type doc string
Date: Fri, 17 Jun 2022 10:48:22 -0400 (EDT)

branch: emacs-28
commit d671cd57c488ec792997fd4051440187dec3434f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Update cl-struct-sequence-type doc string
    
    * lisp/emacs-lisp/cl-macs.el (cl-struct-sequence-type): Fix doc
    string to reflect what it does (bug#46523).
---
 lisp/emacs-lisp/cl-macs.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index c27a43f3ba..85ebcaade7 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -3288,8 +3288,9 @@ the form NAME which is a shorthand for (NAME NAME)."
 
 (defun cl-struct-sequence-type (struct-type)
   "Return the sequence used to build STRUCT-TYPE.
-STRUCT-TYPE is a symbol naming a struct type.  Return `record',
-`vector', or `list' if STRUCT-TYPE is a struct type, nil otherwise."
+STRUCT-TYPE is a symbol naming a struct type.  Return values are
+either `vector', `list' or nil (and the latter indicates a
+`record' struct type."
   (declare (side-effect-free t) (pure t))
   (cl--struct-class-type (cl--struct-get-class struct-type)))
 



reply via email to

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