diff options
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index 3d475bf..5c60dbe 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -99,7 +99,7 @@ (spaceline-define-segment buffer-position "Buffer position in percent" (format "%3d%%%%" (/ (* 100 (- (line-number-at-pos) 1)) - (count-lines (point-min) (point-max))))) + (max 1 (count-lines (point-min) (point-max)))))) ;;; Variables |