Function: kproperty:position

kproperty:position is a byte-compiled function defined in kproperty.el.

Signature

(kproperty:position PROPERTY VALUE)

Documentation

Return the non-narrowed buffer position of the first kcell with PROPERTY VALUE.

If no kcell with PROPERTY VALUE, return nil. Use (kcell-view:start <position>) on the returned <position> to get the start position of the cell's content.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kproperty.el
(defun kproperty:position (property value)
  "Return the non-narrowed buffer position of the first kcell with PROPERTY VALUE.
If no kcell with PROPERTY VALUE, return nil.
Use (kcell-view:start <position>) on the returned <position> to get
the start position of the cell's content."
  (text-property-any (point-min) (point-max) property value))