summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 7645669..5e989cd 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -94,9 +94,9 @@
(_ " ?"))))))))
(spaceline-define-segment buffer-position
- "Buffer position in percent, padded to work around spaceline bug"
- (format "%02d%%%% " (/ (* 100 (- (line-number-at-pos) 1))
- (count-lines (point-min) (point-max)))))
+ "Buffer position in percent"
+ (format "%3d%%%%" (/ (* 100 (- (line-number-at-pos) 1))
+ (count-lines (point-min) (point-max)))))
;;; Variables