summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-macs.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-28 18:08:47 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-28 18:09:36 +0200
commitb9611e9c7e34b8b8ca2a5a9bba1252f4d8392583 (patch)
treef26aae5a8e1f8bb4a4c3e086e799b9fbceb99036 /lisp/emacs-lisp/cl-macs.el
parent29022571289dc3c21a49be127bab76976828137c (diff)
downloademacs-b9611e9c7e34b8b8ca2a5a9bba1252f4d8392583.tar.gz
emacs-b9611e9c7e34b8b8ca2a5a9bba1252f4d8392583.tar.bz2
emacs-b9611e9c7e34b8b8ca2a5a9bba1252f4d8392583.zip
Mention cl-describe-type in cl-defstruct docstring
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention 'cl-describe-type' in docstring.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r--lisp/emacs-lisp/cl-macs.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 4e0e323cfa1..74210ac6320 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2888,6 +2888,9 @@ Supported keywords for slots are:
- `:documentation': this is a docstring describing the slot.
- `:type': the type of the field; currently only used for documentation.
+To see the documentation for a defined struct type, use
+\\[cl-describe-type].
+
\(fn NAME &optional DOCSTRING &rest SLOTS)"
(declare (doc-string 2) (indent 1)
(debug