Variable: line-number-display-limit-width
line-number-display-limit-width is a customizable variable defined in
xdisp.c.
Value
200
Documentation
Maximum line width (in characters) for line number display.
If the average length of the lines near point is bigger than this, then the line number may be omitted from the mode line.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 21.1.
Source Code
// Defined in /usr/src/emacs/src/xdisp.c
DEFVAR_INT ("line-number-display-limit-width",
line_number_display_limit_width,
doc: /* Maximum line width (in characters) for line number display.
If the average length of the lines near point is bigger than this, then the
line number may be omitted from the mode line. */);