Add some documentation for 'help-find-source'

* doc/emacs/help.texi (Name Help): Add 'help-find-source' entry.
* etc/NEWS: Likewise.
This commit is contained in:
Andrea Corallo 2024-05-29 16:30:16 +02:00
parent c04eccd667
commit 608e9a5806
2 changed files with 10 additions and 0 deletions

View file

@ -367,6 +367,11 @@ variable, or a face. If the symbol has more than one definition, like
it has both definition as a function and as a variable, this command
will show the documentation of all of them, one after the other.
@kindex C-h 4 s
@findex help-find-source
@kbd{C-h 4 s} (@code{help-find-source}) switch to a buffer visiting
the source definition of what is being described in the help buffer.
@vindex completions-detailed
If the @code{completions-detailed} user option is non-@code{nil},
some commands provide details about the possible values when

View file

@ -158,6 +158,11 @@ number has been bumped to 2048 bits.
** Help
+++
*** New command 'help-find-source'.
Switch to a buffer visiting the source of what is being described in
"*Help*". It is bound to 'C-h 4 s' globally.
*** 'describe-function' shows function inferred type when available.
For native compiled Lisp functions 'describe-function' prints (after
the signature) the automatically inferred function type as well.