From 308a5ff0f8997a287a496993d92f92c6a8a0f393 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 6 Apr 2025 23:24:30 -0400 Subject: [PATCH] (srecode-macro-help): Use `cl--class-docstring` * lisp/cedet/srecode/srt-mode.el (srecode-macro-help): Don't rely on `variable-documentation`. --- lisp/cedet/srecode/srt-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 369730521e8..45040246fb2 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el @@ -276,7 +276,7 @@ we can tell font lock about them.") (prin1 (format "%c" key)) ))) (terpri) - (princ (documentation-property C 'variable-documentation)) + (princ (cl--class-docstring (cl--find-class C))) (terpri) (when showexample (princ "Example:")