aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-13 05:05:03 +0200
committerLars Ingebrigtsen2019-07-13 05:05:03 +0200
commit1b0d621f028eec42c2a88912d419a11a4e78ebfc (patch)
treec935320bf1f6fd73c798cd21014babe1934e2e07
parent66620c46f022c65751f3808a8e486f508328daf3 (diff)
downloademacs-1b0d621f028eec42c2a88912d419a11a4e78ebfc.tar.gz
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).
-rw-r--r--lisp/emacs-lisp/cl-macs.el4
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.
2720Currently, only one keyword is supported, `:read-only'. If this has a 2720Currently, only one keyword is supported, `:read-only'. If this has a
2721non-nil value, that slot cannot be set via `setf'. 2721non-nil value, that slot cannot be set via `setf'.
2722 2722
2723\(fn NAME SLOTS...)" 2723It's optional DOC-STRING is optional.
2724
2725\(fn NAME &optional DOCSTRING &rest SLOTS)"
2724 (declare (doc-string 2) (indent 1) 2726 (declare (doc-string 2) (indent 1)
2725 (debug 2727 (debug
2726 (&define ;Makes top-level form not be wrapped. 2728 (&define ;Makes top-level form not be wrapped.