diff options
author | David Robillard <d@drobilla.net> | 2017-12-09 11:13:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-09 11:13:25 +0100 |
commit | 6c8e81247fc659d924eba2a1c31870a02e649986 (patch) | |
tree | bc00883b0c4ac4a3d38f6bab3daeba4d4870cc6a /emacs.d/init.el | |
parent | 2c8a129b2b0807a6dbfd3910b43f0cb4588ec488 (diff) | |
download | dotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.tar.gz dotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.tar.bz2 dotfiles-6c8e81247fc659d924eba2a1c31870a02e649986.zip |
Fix buffer position
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r-- | emacs.d/init.el | 6 |
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 |