Variable: yank-transform-functions
yank-transform-functions is a variable defined in simple.el.gz.
Value
nil
Documentation
Hook run on strings to be yanked.
Each function in this list will be called (in order) with the string to be yanked as the sole argument, and should return the (possibly) transformed string.
The functions will be called with the destination buffer as the current buffer, and with point at the place where the string is to be inserted.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar yank-transform-functions nil
"Hook run on strings to be yanked.
Each function in this list will be called (in order) with the
string to be yanked as the sole argument, and should return the (possibly)
transformed string.
The functions will be called with the destination buffer as the current
buffer, and with point at the place where the string is to be inserted.")