Function: hproperty:length-p

hproperty:length-p is an autoloaded and byte-compiled function defined in hproperty.el.

Signature

(hproperty:length-p PROP VALUE)

Documentation

Return the length of the region from point where PROP has VALUE.

Return nil if no match at point.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hproperty.el
;;;###autoload
(defun hproperty:length-p (prop value)
  "Return the length of the region from point where PROP has VALUE.
Return nil if no match at point."
  (let ((start (point))
        end)
    (and (equal (get-text-property start prop) value)
         (setq end (next-single-property-change start prop nil (point-max)))
         (- end start))))