Set `apropos-do-all' to t

This commit is contained in:
Gerard Vermeulen 2024-08-19 09:47:59 +02:00
parent 5211f651ae
commit 0882212193

View File

@ -927,14 +927,17 @@ output to =stdout=.
:CUSTOM_ID: sec:help
:END:
Listing [[lst:setup-help]] enriches the help buffer. Table [[tab:help-key-bindings]]
lists a number of key bindings to start playing with the help facilities of
Emacs. Try {{{kbd(C-h o)}}} instead of {{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
Listing [[lst:setup-help]] enriches the help buffer and commands in the =apropos=
library. Table [[tab:help-key-bindings]] lists a number of key bindings to start
playing with the help facilities of Emacs. Try {{{kbd(C-h o)}}} instead of
{{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
#+caption[Setup =help=]:
#+caption: Setup =help=.
#+name: lst:setup-help
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'apropos
(setopt apropos-do-all t))
(with-eval-after-load 'help-fns
;; ChatGPT recommends to require `shortdoc' contrary to the
;; `shortdoc-help-fns-examples-function' documentation string.