Function: display-local-help
display-local-help is an autoloaded, interactive and byte-compiled
function defined in help-at-pt.el.gz.
Signature
(display-local-help &optional INHIBIT-WARNING DESCRIBE-BUTTON)
Documentation
Display in the echo area kbd-help or help-echo text at point.
This command displays the help message which is the string produced
by the kbd-help property at point. If kbd-help at point does not
produce a string, but the help-echo property does, then that string
is displayed instead.
The string is passed through substitute-command-keys before it
is displayed.
If INHIBIT-WARNING is non-nil, do not display a warning message when there is no help property at point.
If DESCRIBE-BUTTON in non-nil (interactively, the prefix arg), and there's a button/widget at point, pop up a buffer describing that button/widget instead.
Probably introduced at or before Emacs version 22.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/help-at-pt.el.gz
;;;###autoload
(defun display-local-help (&optional inhibit-warning describe-button)
"Display in the echo area `kbd-help' or `help-echo' text at point.
This command displays the help message which is the string produced
by the `kbd-help' property at point. If `kbd-help' at point does not
produce a string, but the `help-echo' property does, then that string
is displayed instead.
The string is passed through `substitute-command-keys' before it
is displayed.
If INHIBIT-WARNING is non-nil, do not display a warning message when
there is no help property at point.
If DESCRIBE-BUTTON in non-nil (interactively, the prefix arg), and
there's a button/widget at point, pop up a buffer describing that
button/widget instead."
(interactive (list nil current-prefix-arg))
(let ((help (help-at-pt-kbd-string)))
(cond
((and describe-button (button-at (point)))
(button-describe))
((and describe-button (widget-at (point)))
(widget-describe))
(help
(message "%s" (substitute-command-keys help)))
((not inhibit-warning)
(message "No local help at point")))))