Function: hywiki-highlight-on-yank
hywiki-highlight-on-yank is a byte-compiled function defined in
hywiki.el.
Signature
(hywiki-highlight-on-yank PROP-VALUE START END)
Documentation
Used in yank-handled-properties called with START and END pos of the text.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-highlight-on-yank (_prop-value start end)
"Used in `yank-handled-properties' called with START and END pos of the text."
;; When yank only part of a delimited pair, expand the range to
;; include the whole delimited pair before re-highlighting
;; HyWikiWords therein, so that the whole delimited expression is
;; included.
(cl-destructuring-bind (start end)
(hywiki--extend-region start end)
(hywiki-maybe-highlight-references start (min end (point-max)))))