Fix comment in context of BUG#71537

This commit is contained in:
Gerard Vermeulen 2024-06-15 12:19:48 +02:00
parent 28ab82f8ec
commit 8faffd1fdb

View File

@ -929,7 +929,7 @@ Emacs. Try {{{kbd(C-h o)}}} instead of {{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
(with-eval-after-load 'help-fns
;; ChatGPT recommends to require `shortdoc' contrary to the
;; `shortdoc-help-fns-examples-function' documentation string.
;; BUG#71537: "emacs -Q" does not need the `add-hook' form. Note:
;; BUG#71537: "emacs -Q" works with a simpler `add-hook' form. Note:
;; `add-hook' should append `shortdoc-help-fns-examples-function' to
;; `help-fns-describe-function-functions'.
(add-hook 'help-fns-describe-function-functions