Function: hproperty:but-get

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

Signature

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

Documentation

Return button at optional POS or point.

If optional PROPERTY and VALUE are given, return only the first button with that PROPERTY and VALUE.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hproperty.el
(defun hproperty:but-get (&optional pos property value)
  "Return button at optional POS or point.
If optional PROPERTY and VALUE are given, return only the first button
with that PROPERTY and VALUE."
  (unless (natnump pos)
    (setq pos (point)))
  (hproperty:but-get-first-in-region pos (1+ pos) property value))