From 6c8e81247fc659d924eba2a1c31870a02e649986 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Dec 2017 11:13:25 +0100 Subject: Fix buffer position --- emacs.d/init.el | 6 +++--- 1 file 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 -- cgit v1.2.1