From e5ddf91db2429e87ab16c69d774295648bbb4e43 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 28 Jul 2021 17:57:19 +0200 Subject: [PATCH] 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'. --- lisp/bindings.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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) -- 2.39.2