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

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

[elpa] externals/vlf 38e8f6c 199/310: Update file size when moving to en


From: Stefan Monnier
Subject: [elpa] externals/vlf 38e8f6c 199/310: Update file size when moving to end of buffer.
Date: Sat, 28 Nov 2020 00:33:15 -0500 (EST)

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

    Update file size when moving to end of buffer.
---
 vlf.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vlf.el b/vlf.el
index 927d557..00d2cee 100644
--- a/vlf.el
+++ b/vlf.el
@@ -120,7 +120,8 @@
 (defun vlf (file)
   "View Large FILE in batches.
 You can customize number of bytes displayed by customizing
-`vlf-batch-size'."
+`vlf-batch-size'.
+Return newly created buffer."
   (interactive "fFile to open: ")
   (let ((vlf-buffer (generate-new-buffer "*vlf*")))
     (set-buffer vlf-buffer)
@@ -198,6 +199,7 @@ with the prefix argument DECREASE it is halved."
 (defun vlf-end-of-file ()
   "Jump to end of file content."
   (interactive)
+  (vlf-verify-size)
   (vlf-move-to-batch vlf-file-size))
 
 (defun vlf-revert (&optional _ignore-auto noconfirm)



reply via email to

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