summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-preloaded.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2024-03-23 22:48:17 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2024-03-23 22:48:17 -0400
commita496378c94176930583e63ef5c95477f092a872b (patch)
tree77dbd252710d777b80e7fd267e0cd4c3661a34f6 /lisp/emacs-lisp/cl-preloaded.el
parent044558766a77b1c9b8a7e6d757ca65730a88b88d (diff)
downloademacs-a496378c94176930583e63ef5c95477f092a872b.tar.gz
emacs-a496378c94176930583e63ef5c95477f092a872b.tar.bz2
emacs-a496378c94176930583e63ef5c95477f092a872b.zip
cl-preloaded.el: Improve docstrings of "kinds"
* lisp/emacs-lisp/cl-preloaded.el (cl--class): Improve the docstring. (built-in-class): Add a docstring.
Diffstat (limited to 'lisp/emacs-lisp/cl-preloaded.el')
-rw-r--r--lisp/emacs-lisp/cl-preloaded.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el
index f7757eae9c0..8428ec4beb7 100644
--- a/lisp/emacs-lisp/cl-preloaded.el
+++ b/lisp/emacs-lisp/cl-preloaded.el
@@ -260,7 +260,7 @@
(cl-defstruct (cl--class
(:constructor nil)
(:copier nil))
- "Type of descriptors for any kind of structure-like data."
+ "Abstract supertype of all type descriptors."
;; Intended to be shared between defstruct and defclass.
(name nil :type symbol) ;The type name.
(docstring nil :type string)
@@ -306,6 +306,8 @@
(:constructor nil)
(:constructor built-in-class--make (name docstring parents))
(:copier nil))
+ "Type descriptors for built-in types.
+The `slots' (and hence `index-table') are currently unused."
)
(defmacro cl--define-built-in-type (name parents &optional docstring &rest slots)