diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-13 05:05:03 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-13 05:05:03 +0200 |
commit | 1b0d621f028eec42c2a88912d419a11a4e78ebfc (patch) | |
tree | c935320bf1f6fd73c798cd21014babe1934e2e07 /lisp/emacs-lisp | |
parent | 66620c46f022c65751f3808a8e486f508328daf3 (diff) | |
download | emacs-1b0d621f028eec42c2a88912d419a11a4e78ebfc.tar.gz emacs-1b0d621f028eec42c2a88912d419a11a4e78ebfc.tar.bz2 emacs-1b0d621f028eec42c2a88912d419a11a4e78ebfc.zip |
Document fix for cl-defstruct
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can
have a doc string (bug#32340).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 4 |
1 files changed, 3 insertions, 1 deletions
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. |