Variable: line-number-display-limit

line-number-display-limit is a customizable variable defined in xdisp.c.

Value

nil

Documentation

Maximum buffer size for which line number should be displayed.

If the buffer is bigger than this, the line number does not appear in the mode line. A value of nil means no limit.

View in manual

Probably introduced at or before Emacs version 19.1.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_LISP ("line-number-display-limit", Vline_number_display_limit,
    doc: /* Maximum buffer size for which line number should be displayed.
If the buffer is bigger than this, the line number does not appear
in the mode line.  A value of nil means no limit.  */);