Function: help-at-pt-kbd-string
help-at-pt-kbd-string is an autoloaded and byte-compiled function
defined in help-at-pt.el.gz.
Signature
(help-at-pt-kbd-string)
Documentation
Return the keyboard help string at point.
If the kbd-help text or overlay property at point produces a
string, return it. Otherwise, use the help-echo property.
If this produces no string either, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/help-at-pt.el.gz
;;;###autoload
(defun help-at-pt-kbd-string ()
"Return the keyboard help string at point.
If the `kbd-help' text or overlay property at point produces a
string, return it. Otherwise, use the `help-echo' property.
If this produces no string either, return nil."
(let ((kbd (help-at-pt-string t))
(echo (help-at-pt-string)))
(if (and kbd (not (eq kbd t))) kbd echo)))