From ce2c05f1b36dcb4945d825f0a634c063bb6ef10a Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Thu, 14 Nov 2024 01:01:08 +0100 Subject: [PATCH] ; Better clarify function types in C-h f (bug#73626) * doc/emacs/help.texi (Name Help): Better clarify function types. (cherry picked from commit b71d3b2f52ff186e2e7e9724890aa08d0fc9796b) --- doc/emacs/help.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 38f8007107f..99767ded7f6 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi @@ -307,6 +307,15 @@ file where it was defined, whether it has been declared obsolete, and yet further information is often reachable by clicking or typing @key{RET} on emphasized parts of the text. +@cindex function type specifier + +The function type, if known, is expressed with a @dfn{function type +specifier} (@pxref{Type Specifiers,,,elisp, The Emacs Lisp Reference +Manual}), it will be specified if the type was manually declared by the +programmer or inferred by the compiler. Note that function type +inference works only when native compilation is enabled (@pxref{native +compilation,,, elisp, The Emacs Lisp Reference Manual}). + @vindex help-enable-symbol-autoload If you request help for an autoloaded function whose @code{autoload} form (@pxref{Autoload,,, elisp, The Emacs Lisp Reference Manual}) -- 2.39.2