branch: elpa/telephone-line
commit 81ec9e31371dcf5c3df4d9d79a8d6f6d254a0589
Author: Daniel Bordak <[email protected]>
Commit: Daniel Bordak <[email protected]>

    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