summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-09 11:13:25 +0100
committerDavid Robillard <d@drobilla.net>2017-12-09 11:13:25 +0100
commit6c8e81247fc659d924eba2a1c31870a02e649986 (patch)
treebc00883b0c4ac4a3d38f6bab3daeba4d4870cc6a
parent2c8a129b2b0807a6dbfd3910b43f0cb4588ec488 (diff)
downloaddotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.tar.gz
dotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.tar.bz2
dotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.zip
Fix buffer position
-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