Variable: hl-line-face

hl-line-face is a customizable variable defined in hl-line.el.gz.

Value

hl-line

Documentation

Face with which to highlight the current line in Hl-Line mode.

Source Code

;; Defined in /usr/src/emacs/lisp/hl-line.el.gz
(defcustom hl-line-face 'hl-line
  "Face with which to highlight the current line in Hl-Line mode."
  :type 'face
  :group 'hl-line
  :set (lambda (symbol value)
	 (set symbol value)
	 (dolist (buffer (buffer-list))
	   (with-current-buffer buffer
	     (when (overlayp hl-line-overlay)
	       (overlay-put hl-line-overlay 'face hl-line-face))))
	 (when (overlayp global-hl-line-overlay)
	   (overlay-put global-hl-line-overlay 'face hl-line-face))))