Variable: line-number-mode

line-number-mode is a customizable variable defined in simple.el.gz.

Value

t

Documentation

Non-nil if Line-Number mode is enabled.

See the line-number-mode(var)/line-number-mode(fun) command for a description of this minor mode.

View in manual

Probably introduced at or before Emacs version 19.1.

Key Bindings

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)