Variable: hl-line-sticky-flag
hl-line-sticky-flag is a customizable variable defined in
hl-line.el.gz.
Value
t
Documentation
Non-nil means the HL-Line mode highlight appears in all windows.
Otherwise Hl-Line mode will highlight only in the selected
window. Setting this variable takes effect the next time you use
the command hl-line-mode(var)/hl-line-mode(fun) to turn Hl-Line mode on.
This variable has no effect in Global Highlight Line mode.
For that, use global-hl-line-sticky-flag.
This variable was added, or its default value changed, in Emacs 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/hl-line.el.gz
(defcustom hl-line-sticky-flag t
"Non-nil means the HL-Line mode highlight appears in all windows.
Otherwise Hl-Line mode will highlight only in the selected
window. Setting this variable takes effect the next time you use
the command `hl-line-mode' to turn Hl-Line mode on.
This variable has no effect in Global Highlight Line mode.
For that, use `global-hl-line-sticky-flag'."
:type 'boolean
:version "22.1"
:group 'hl-line)