emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e5ddf91 2/2: Improve mode-line-position-column-format doc string


From: Lars Ingebrigtsen
Subject: master e5ddf91 2/2: Improve mode-line-position-column-format doc string
Date: Wed, 28 Jul 2021 11:57:30 -0400 (EDT)

branch: master
commit e5ddf91db2429e87ab16c69d774295648bbb4e43
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 4b194c0..8e5799f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]