emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/telephone-line 81ec9e3137 171/195: Respect 0/1-indexing se


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 81ec9e3137 171/195: Respect 0/1-indexing setting
Date: Wed, 5 Jan 2022 02:59:53 -0500 (EST)

branch: elpa/telephone-line
commit 81ec9e31371dcf5c3df4d9d79a8d6f6d254a0589
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>

    Respect 0/1-indexing setting
---
 telephone-line-segments.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 759a752909..3da8818086 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -43,7 +43,8 @@
          (c (number-to-string (if columns columns 3))))
     (if (eq major-mode 'paradox-menu-mode)
         (telephone-line-raw mode-line-front-space t)
-      `((-3 "%p") ,(concat " %" l "l:%" c "c")))))
+      `((-3 "%p") ,(concat " %" l "l"
+                           ":%" c (if (bound-and-true-p 
column-number-indicator-zero-based) "c" "C"))))))
 
 (telephone-line-defsegment* telephone-line-misc-info-segment ()
   (telephone-line-raw mode-line-misc-info t))



reply via email to

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