Variable: yank-handled-properties
yank-handled-properties is a customizable variable defined in
simple.el.gz.
Value
((hywiki-word-face . hywiki-highlight-on-yank)
(hproperty:but-face . hproperty:but-create-on-yank)
(font-lock-face . yank-handle-font-lock-face-property)
(category . yank-handle-category-property))
Documentation
List of special text property handling conditions for yanking.
Each element should have the form (PROP . FUN), where PROP is a
property symbol and FUN is a function. When the yank command
inserts text into the buffer, it scans the inserted text for
stretches of text that have eq values of the text property
PROP; for each such stretch of text, FUN is called with three
arguments: the property's value in that text, and the start and
end positions of the text.
This is done prior to removing the properties specified by
yank-excluded-properties.
This variable was added, or its default value changed, in Emacs 24.3.
Probably introduced at or before Emacs version 24.3.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
;; Yanking.
(defcustom yank-handled-properties
'((font-lock-face . yank-handle-font-lock-face-property)
(category . yank-handle-category-property))
"List of special text property handling conditions for yanking.
Each element should have the form (PROP . FUN), where PROP is a
property symbol and FUN is a function. When the `yank' command
inserts text into the buffer, it scans the inserted text for
stretches of text that have `eq' values of the text property
PROP; for each such stretch of text, FUN is called with three
arguments: the property's value in that text, and the start and
end positions of the text.
This is done prior to removing the properties specified by
`yank-excluded-properties'."
:group 'killing
:type '(repeat (cons (symbol :tag "property symbol")
function))
:version "24.3")