Function: eldoc-show-help-at-pt

eldoc-show-help-at-pt is a byte-compiled function defined in eldoc.el.gz.

Signature

(eldoc-show-help-at-pt &rest _)

Documentation

Show help at point via Eldoc if eldoc-help-at-pt is non-nil.

Intended for eldoc-documentation-functions (which see).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eldoc.el.gz
(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))))
    (format "Help: %s" (substitute-command-keys help))))