Variable: line-number-mode-hook
line-number-mode-hook is a customizable variable defined in
simple.el.gz.
Value
nil
Documentation
Hook run after entering or leaving line-number-mode(var)/line-number-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 line-number-mode
"Toggle line number display in the mode line (Line Number mode).
Line numbers do not appear for very large buffers and buffers
with very long lines; see variables `line-number-display-limit'
and `line-number-display-limit-width'.
See `mode-line-position-line-format' for how this number is
presented."
:init-value t :global t :group 'mode-line)