Variable: cursor-face-highlight-mode-hook
cursor-face-highlight-mode-hook is a customizable variable defined in
simple.el.gz.
Value
nil
Documentation
Hook run after entering or leaving cursor-face-highlight-mode(var)/cursor-face-highlight-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(define-minor-mode cursor-face-highlight-mode
"When enabled, highlight text that has `cursor-face' property near point."
:global nil
(if cursor-face-highlight-mode
(add-hook 'pre-redisplay-functions
#'redisplay--update-cursor-face-highlight nil t)
(remove-hook 'pre-redisplay-functions
#'redisplay--update-cursor-face-highlight t)))