Variable: mode-line-position-line-format

mode-line-position-line-format is a customizable variable defined in bindings.el.gz.

Value

(" L%l")

Documentation

Format used to display line numbers in the mode line.

This is used when line-number-mode(var)/line-number-mode(fun) is switched on. The "%l" format spec will be replaced by the line number.

Also see mode-line-position-column-line-format.

This variable was added, or its default value changed, in Emacs 28.1.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/bindings.el.gz
(defcustom mode-line-position-line-format '(" L%l")
  "Format used to display line numbers in the mode line.
This is used when `line-number-mode' is switched on.  The \"%l\"
format spec will be replaced by the line number.

Also see `mode-line-position-column-line-format'."
  :type '(list string)
  :version "28.1"
  :group 'mode-line)