From: Andrea Corallo Date: Wed, 29 May 2024 14:30:16 +0000 (+0200) Subject: Add some documentation for 'help-find-source' X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~1313 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=608e9a5806f643876246ee9dceac381589a4fa2a;p=emacs.git Add some documentation for 'help-find-source' * doc/emacs/help.texi (Name Help): Add 'help-find-source' entry. * etc/NEWS: Likewise. --- diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index d60310456ff..6bd2d53b3b1 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index 805962488d8..6cdf6afbcea 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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.