Function: ibtype:ensure-current-hbut-is-set
ibtype:ensure-current-hbut-is-set is a byte-compiled function defined
in hbut.el.
Signature
(ibtype:ensure-current-hbut-is-set)
Documentation
Ensure hbut:current is always set when an ibtype is run.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
;;; ========================================================================
;;; ibtype class - Implicit button types
;;; ========================================================================
(defun ibtype:ensure-current-hbut-is-set ()
"Ensure `hbut:current' is always set when an ibtype is run."
;; If an ibtype is invoked directly rather than through the Action
;; Key, ensure its code sets `hbut:current' before testing for any ibut.
(unless (hyperb:stack-frame '(hui:hbut-operate ibut:create))
(hbut:at-p)))