mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-18 20:10:47 +00:00
Interactive change of batch size immediately updates content.
This commit is contained in:
parent
8e65e13dd9
commit
88cf03caba
9
vlfi.el
9
vlfi.el
@ -87,11 +87,10 @@ with the prefix argument DECREASE it is halved."
|
||||
(interactive "P")
|
||||
(or (assq 'vlfi-batch-size (buffer-local-variables))
|
||||
(error "%s is not local in this buffer" 'vlfi-batch-size))
|
||||
(setq vlfi-batch-size
|
||||
(if decrease
|
||||
(/ vlfi-batch-size 2)
|
||||
(* vlfi-batch-size 2)))
|
||||
(vlfi-update-buffer-name))
|
||||
(setq vlfi-batch-size (if decrease
|
||||
(/ vlfi-batch-size 2)
|
||||
(* vlfi-batch-size 2)))
|
||||
(vlfi-move-to-batch vlfi-start-pos))
|
||||
|
||||
(defun vlfi-format-buffer-name ()
|
||||
"Return format for vlfi buffer name."
|
||||
|
Loading…
x
Reference in New Issue
Block a user