mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-18 03:55:31 +00:00
Issue 35: make mode-line batch indicators more accurate
This commit is contained in:
parent
b62bc04612
commit
df677c128f
4
vlf.el
4
vlf.el
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user