From 8a539661d9336240db0e1dcd3fefe15965bc04ec Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 22 Mar 2024 09:54:37 +0200 Subject: [PATCH] ; * lisp/help-fns.el (help-fns-function-name): Doc fix. (cherry picked from commit c1530a2e4973005633ebe00d447f1f3aa1200301) --- lisp/help-fns.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 33988b4b091..da1cc751da4 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -2488,7 +2488,14 @@ one of them returns non-nil." ;;;###autoload (defun help-fns-function-name (function) - "Return a short string representing FUNCTION." + "Return a short buttonized string representing FUNCTION. +The string is propertized with a button; clicking on that +provides further details about FUNCTION. +FUNCTION can be a function, a built-in, a keyboard macro, +or a compile function. +This function is intended to be used to display various +callable symbols in buffers in a way that allows the user +to find out more details about the symbols." ;; FIXME: For kmacros, should we print the key-sequence? (cond ((symbolp function) -- 2.39.5