From fa51d6cdcd49dad21c9e6ede878467cab95630b0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 28 Jul 2021 18:39:39 +0200 Subject: [PATCH] Improve mode-line-position-column-format manual entry * doc/lispref/modes.texi (Mode Line Variables): Mention %C, and don't mention the obsolete column-number-indicator-zero-based variable. --- doc/lispref/modes.texi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index b0dc0ff9166..d48c9cc1af0 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2251,16 +2251,15 @@ number. The format used to display column numbers when @code{column-number-mode} (@pxref{Optional Mode Line,,, emacs, The GNU Emacs Manual}) is switched on. @samp{%c} in the format will be -replaced with the column number, and this is zero-based if -@code{column-number-indicator-zero-based} is non-@code{nil}, and -one-based if @code{column-number-indicator-zero-based} is @code{nil}. +replaced with a zero-based column number, and @samp{%C} will be +replaced with a one-based column number. @end defvar @defvar mode-line-position-column-line-format The format used to display column numbers when both @code{line-number-mode} and @code{column-number-mode} are switched on. -See the previous two variables for the meaning of the @samp{%l} and -@samp{%c} format specs. +See the previous two variables for the meaning of the @samp{%l}, +@samp{%c} and @samp{%C} format specs. @end defvar @defvar minor-mode-alist -- 2.39.2