ChatGPT is more complete than the Emacs documention
This commit is contained in:
parent
33e4d5ca3b
commit
7ea6f46fdd
@ -984,6 +984,9 @@ Emacs. Try {{{kbd(C-h o)}}} instead of {{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
|
|||||||
#+name: lst:setup-help
|
#+name: lst:setup-help
|
||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(with-eval-after-load 'help-fns
|
(with-eval-after-load 'help-fns
|
||||||
|
;; ChatGPT recommends to require `shortdoc' contrary to the
|
||||||
|
;; `shortdoc-help-fns-examples-function' documentation string.
|
||||||
|
(require 'shortdoc)
|
||||||
(add-hook 'help-fns-describe-function-functions
|
(add-hook 'help-fns-describe-function-functions
|
||||||
#'shortdoc-help-fns-examples-function)
|
#'shortdoc-help-fns-examples-function)
|
||||||
(setopt help-enable-symbol-autoload t))
|
(setopt help-enable-symbol-autoload t))
|
||||||
|
Loading…
Reference in New Issue
Block a user