Function: kproperty:all-positions

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

Signature

(kproperty:all-positions PROPERTY VALUE)

Documentation

Return a list of all non-narrowed positions of kcells with PROPERTY VALUE.

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

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kproperty.el
(defun kproperty:all-positions (property value)
  "Return a list of all non-narrowed positions of kcells with PROPERTY VALUE.
If no kcells with PROPERTY VALUE, return nil.
Use (kcell-view:start <position>) on each returned <position> to get
the start position of each cell's content."
  (kproperty:map (lambda (start _end) start) property value))