emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1b0d621 1/2: Document fix for cl-defstruct


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 1b0d621 1/2: Document fix for cl-defstruct
Date: Fri, 12 Jul 2019 23:10:46 -0400 (EDT)

branch: master
commit 1b0d621f028eec42c2a88912d419a11a4e78ebfc
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Document fix for cl-defstruct
    
    * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can
    have a doc string (bug#32340).
---
 lisp/emacs-lisp/cl-macs.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 7e11dd2..ba3f26e 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2720,7 +2720,9 @@ pairs for that slot.
 Currently, only one keyword is supported, `:read-only'.  If this has a
 non-nil value, that slot cannot be set via `setf'.
 
-\(fn NAME SLOTS...)"
+It's optional DOC-STRING is optional.
+
+\(fn NAME &optional DOCSTRING &rest SLOTS)"
   (declare (doc-string 2) (indent 1)
            (debug
             (&define                    ;Makes top-level form not be wrapped.



reply via email to

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