Variable: cursor-face-highlight-mode

cursor-face-highlight-mode is a buffer-local variable defined in simple.el.gz.

Documentation

Non-nil if Cursor-Face-Highlight mode is enabled.

Use the command cursor-face-highlight-mode(var)/cursor-face-highlight-mode(fun) to change this variable.

View in manual

Probably introduced at or before Emacs version 29.1.

Key Bindings

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)))