aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-07-13 13:30:35 +0200
committerMichael Albinus2019-07-13 13:30:35 +0200
commit9939e04404b3d7621a9fd260c977ff5c7a0fb0d0 (patch)
tree2d71fd879ba3f56ac0277f817c098fb22d2a32c9
parent40743cbb73f60c104dd745afc94c93200da0a529 (diff)
downloademacs-9939e04404b3d7621a9fd260c977ff5c7a0fb0d0.tar.gz
emacs-9939e04404b3d7621a9fd260c977ff5c7a0fb0d0.zip
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring.
-rw-r--r--lisp/emacs-lisp/cl-macs.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index ba3f26e43a0..ef78cfa62ef 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2711,8 +2711,10 @@ You can use the accessors to set the corresponding slots, via `setf'.
2711 2711
2712NAME may instead take the form (NAME OPTIONS...), where each 2712NAME may instead take the form (NAME OPTIONS...), where each
2713OPTION is either a single keyword or (KEYWORD VALUE) where 2713OPTION is either a single keyword or (KEYWORD VALUE) where
2714KEYWORD can be one of :conc-name, :constructor, :copier, :predicate, 2714KEYWORD can be one of `:conc-name', `:constructor', `:copier',
2715:type, :named, :initial-offset, :print-function, :noinline, or :include. 2715`:predicate', `:type', `:named', `:initial-offset',
2716`:print-function', `:noinline', or `:include'. See Info
2717node `(cl)Structures' for the description of the options.
2716 2718
2717Each SLOT may instead take the form (SNAME SDEFAULT SOPTIONS...), where 2719Each SLOT may instead take the form (SNAME SDEFAULT SOPTIONS...), where
2718SDEFAULT is the default value of that slot and SOPTIONS are keyword-value 2720SDEFAULT is the default value of that slot and SOPTIONS are keyword-value
@@ -2720,7 +2722,7 @@ pairs for that slot.
2720Currently, only one keyword is supported, `:read-only'. If this has a 2722Currently, only one keyword is supported, `:read-only'. If this has a
2721non-nil value, that slot cannot be set via `setf'. 2723non-nil value, that slot cannot be set via `setf'.
2722 2724
2723It's optional DOC-STRING is optional. 2725It's DOC-STRING is optional.
2724 2726
2725\(fn NAME &optional DOCSTRING &rest SLOTS)" 2727\(fn NAME &optional DOCSTRING &rest SLOTS)"
2726 (declare (doc-string 2) (indent 1) 2728 (declare (doc-string 2) (indent 1)