From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 03:05:03 +0000 (+0200) Subject: Document fix for cl-defstruct X-Git-Tag: emacs-27.0.90~1972 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b0d621f028eec42c2a88912d419a11a4e78ebfc;p=emacs.git Document fix for cl-defstruct * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can have a doc string (bug#32340). --- diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 7e11dd2e4aa..ba3f26e43a0 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.