Function: hproperty:but-create-all

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

Signature

(hproperty:but-create-all &optional REGEXP-MATCH)

Documentation

Highlight all named Hyperbole buttons in buffer.

De-highlight buttons unless hproperty:but-highlight-flag is set.

If REGEXP-MATCH is non-nil, only buttons matching this argument are highlighted.

If hproperty:but-emphasize-flag is non-nil when this is called, emphasize that button is selectable whenever the mouse cursor moves over it.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hproperty.el
(defun hproperty:but-create-all (&optional regexp-match)
  "Highlight all named Hyperbole buttons in buffer.
De-highlight buttons unless `hproperty:but-highlight-flag' is set.

If REGEXP-MATCH is non-nil, only buttons matching this argument are
highlighted.

If `hproperty:but-emphasize-flag' is non-nil when this is called,
emphasize that button is selectable whenever the mouse cursor
moves over it."
  (when hproperty:but-highlight-flag
    (ebut:map (lambda (_lbl start end)
		(hproperty:but-add start end hproperty:but-face))
	      regexp-match 'include-delims)
    (ibut:map (lambda (_lbl start end)
		(hproperty:but-add start end hproperty:ibut-face))
	      regexp-match 'include-delims)))