Function: hproperty:but-p

hproperty:but-p is a byte-compiled function defined in hproperty.el.

Signature

(hproperty:but-p &optional POS PROPERTY VALUE)

Documentation

Return non-nil at point or optional POS iff on a highlighted Hyperbole button.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hproperty.el
(defun hproperty:but-p (&optional pos property value)
  "Return non-nil at point or optional POS iff on a highlighted Hyperbole button."
  (memq t (mapcar (lambda (overlay)
		    (when (memq (overlay-get overlay (or property 'face))
				(if property
				    (list value)
				  (list hproperty:but-face hproperty:ibut-face)))
		      t))
		  (overlays-at (or pos (point))))))