mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix 'eldoc-show-help-at-pt'
* lisp/emacs-lisp/eldoc.el (eldoc-show-help-at-pt): Don't test 'eldoc-help-at-pt'. (Bug#81356)
This commit is contained in:
parent
7621ee1d01
commit
f9a8c61f50
|
|
@ -982,7 +982,7 @@ the docstrings eventually produced, using
|
|||
(defun eldoc-show-help-at-pt (&rest _)
|
||||
"Show help at point via Eldoc if `eldoc-help-at-pt' is non-nil.
|
||||
Intended for `eldoc-documentation-functions' (which see)."
|
||||
(when-let* ((help (and eldoc-help-at-pt (help-at-pt-kbd-string))))
|
||||
(when-let* ((help (help-at-pt-kbd-string)))
|
||||
(format "Help: %s" (substitute-command-keys help))))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue