From: Lars Ingebrigtsen Date: Wed, 28 Jul 2021 15:57:19 +0000 (+0200) Subject: Improve mode-line-position-column-format doc string X-Git-Tag: emacs-28.0.90~1670 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e5ddf91db2429e87ab16c69d774295648bbb4e43;p=emacs.git Improve mode-line-position-column-format doc string * lisp/bindings.el (mode-line-position-column-format): Improve doc string. (mode-line-position-line-format): Point to `mode-line-position-column-line-format'. --- diff --git a/lisp/bindings.el b/lisp/bindings.el index 4b194c0c015..8e5799fbe88 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -463,7 +463,9 @@ displayed in `mode-line-position', a component of the default (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." +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) @@ -471,9 +473,10 @@ format spec will be replaced by the line number." (defcustom mode-line-position-column-format '(" C%c") "Format used to display column numbers in the mode line. This is used when `column-number-mode' is switched on. The -\"%c\" format spec will be replaced by the column number, which -is zero-based if `column-number-indicator-zero-based' is non-nil, -and one-based if `column-number-indicator-zero-based' is nil." +\"%c\" format spec is replaced by the zero-based column number, +and \"%C\" is replaced by the one-based column number. + +Also see `mode-line-position-column-line-format'." :type '(list string) :version "28.1" :group 'mode-line)