diff options
| author | Michael Albinus | 2019-07-13 13:30:35 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-07-13 13:30:35 +0200 |
| commit | 9939e04404b3d7621a9fd260c977ff5c7a0fb0d0 (patch) | |
| tree | 2d71fd879ba3f56ac0277f817c098fb22d2a32c9 | |
| parent | 40743cbb73f60c104dd745afc94c93200da0a529 (diff) | |
| download | emacs-9939e04404b3d7621a9fd260c977ff5c7a0fb0d0.tar.gz emacs-9939e04404b3d7621a9fd260c977ff5c7a0fb0d0.zip | |
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring.
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 8 |
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 | ||
| 2712 | NAME may instead take the form (NAME OPTIONS...), where each | 2712 | NAME may instead take the form (NAME OPTIONS...), where each |
| 2713 | OPTION is either a single keyword or (KEYWORD VALUE) where | 2713 | OPTION is either a single keyword or (KEYWORD VALUE) where |
| 2714 | KEYWORD can be one of :conc-name, :constructor, :copier, :predicate, | 2714 | KEYWORD 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 | ||
| 2717 | node `(cl)Structures' for the description of the options. | ||
| 2716 | 2718 | ||
| 2717 | Each SLOT may instead take the form (SNAME SDEFAULT SOPTIONS...), where | 2719 | Each SLOT may instead take the form (SNAME SDEFAULT SOPTIONS...), where |
| 2718 | SDEFAULT is the default value of that slot and SOPTIONS are keyword-value | 2720 | SDEFAULT is the default value of that slot and SOPTIONS are keyword-value |
| @@ -2720,7 +2722,7 @@ pairs for that slot. | |||
| 2720 | Currently, only one keyword is supported, `:read-only'. If this has a | 2722 | Currently, only one keyword is supported, `:read-only'. If this has a |
| 2721 | non-nil value, that slot cannot be set via `setf'. | 2723 | non-nil value, that slot cannot be set via `setf'. |
| 2722 | 2724 | ||
| 2723 | It's optional DOC-STRING is optional. | 2725 | It'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) |