Function: ibut:label-map

ibut:label-map is a byte-compiled function defined in hbut.el.

Signature

(ibut:label-map BUT-FUNC &optional REGEXP-MATCH INCLUDE-DELIMS)

Documentation

Apply BUT-FUNC to buttons delimited by ibut:label-start and ibut:label-end.

If REGEXP-MATCH is non-nil, only buttons which match this argument are considered.

Map over portion of buffer visible under any current restriction. BUT-FUNC must take precisely three arguments: the button label, the start position of the delimited button label and its end position (positions include delimiters when INCLUDE-DELIMS is non-nil).

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun    ibut:label-map (but-func &optional regexp-match include-delims)
  "Apply BUT-FUNC to buttons delimited by `ibut:label-start' and `ibut:label-end'.
If REGEXP-MATCH is non-nil, only buttons which match this argument are
considered.

Map over portion of buffer visible under any current restriction.
BUT-FUNC must take precisely three arguments: the button label,
the start position of the delimited button label and its end
position (positions include delimiters when INCLUDE-DELIMS is
non-nil)."
  (hbut:map-type but-func ibut:label-start ibut:label-end regexp-match include-delims))