emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vlf 88cf03c 030/310: Interactive change of batch size i


From: Stefan Monnier
Subject: [elpa] externals/vlf 88cf03c 030/310: Interactive change of batch size immediately updates content.
Date: Sat, 28 Nov 2020 00:32:41 -0500 (EST)

branch: externals/vlf
commit 88cf03caba5dace4a2583f810d266fb6b14b056b
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>

    Interactive change of batch size immediately updates content.
---
 vlfi.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/vlfi.el b/vlfi.el
index a0a1a84..319311f 100644
--- a/vlfi.el
+++ b/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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]