emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b9611e9: Mention cl-describe-type in cl-defstruct docstring


From: Stefan Kangas
Subject: master b9611e9: Mention cl-describe-type in cl-defstruct docstring
Date: Tue, 28 Sep 2021 12:09:54 -0400 (EDT)

branch: master
commit b9611e9c7e34b8b8ca2a5a9bba1252f4d8392583
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Mention cl-describe-type in cl-defstruct docstring
    
    * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention
    'cl-describe-type' in docstring.
---
 lisp/emacs-lisp/cl-macs.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 4e0e323..74210ac 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]