Function: smart-push-button-help
smart-push-button-help is a byte-compiled function defined in
hui-mouse.el.
Signature
(smart-push-button-help &optional POS USE-MOUSE-ACTION)
Documentation
Show help about a push button's action.
Button is at optional POS or at point. USE-MOUSE-ACTION prefers mouse-action to action property.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
(defun smart-push-button-help (&optional pos use-mouse-action)
"Show help about a push button's action.
Button is at optional POS or at point. USE-MOUSE-ACTION prefers
mouse-action to action property."
(let* ((button (button-at (or pos (point))))
(action (or (and use-mouse-action (button-get button 'mouse-action))
(button-get button 'action)))
;; Ensure these do not invoke with-output-to-temp-buffer a second time.
(temp-buffer-show-hook)
(temp-buffer-show-function))
(if (functionp action)
(describe-function action)
(hkey-help t))))