1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 10:20:52 +01:00

Issue 35: make mode-line batch indicators more accurate

This commit is contained in:
Dan Harms 2017-08-29 08:06:01 -05:00 committed by Andrey Kotlarski
parent b62bc04612
commit df677c128f

4
vlf.el
View File

@ -109,8 +109,8 @@ values are: `write', `ediff', `occur', `search', `goto-line'."
"Mode to browse large files in."
:group 'vlf :keymap vlf-prefix-map
:lighter (:eval (format " VLF[%d/%d](%s)"
(/ vlf-end-pos vlf-batch-size)
(/ vlf-file-size vlf-batch-size)
(ceiling vlf-end-pos vlf-batch-size)
(ceiling vlf-file-size vlf-batch-size)
(file-size-human-readable vlf-file-size)))
(cond (vlf-mode
(set (make-local-variable 'require-final-newline) nil)