Function: ibut:at-type-p

ibut:at-type-p is a byte-compiled function defined in hbut.el.

Signature

(ibut:at-type-p IBUT-TYPE-SYMBOL)

Documentation

Return non-nil if point is on a button of type IBUT-TYPE-SYMBOL.

Point may be on the button text or its preceding name.

The return value is a list of the type's action type symbol and associated arguments from the button.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun    ibut:at-type-p (ibut-type-symbol)
  "Return non-nil if point is on a button of type IBUT-TYPE-SYMBOL.
Point may be on the button text or its preceding name.

The return value is a list of the type's action type symbol and
associated arguments from the button."
  (and (setq ibut-type-symbol (ibtype:elisp-symbol ibut-type-symbol))
       (let ((ibut (ibut:at-p)))
	 (and ibut (eq (ibut:type ibut) ibut-type-symbol)))))