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

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

[elpa] externals/vlf e693e8f 013/310: Disable undo information for VLFI


From: Stefan Monnier
Subject: [elpa] externals/vlf e693e8f 013/310: Disable undo information for VLFI buffers.
Date: Sat, 28 Nov 2020 00:32:37 -0500 (EST)

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

    Disable undo information for VLFI buffers.
---
 vlfi.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlfi.el b/vlfi.el
index 7462093..a6f0c3a 100644
--- a/vlfi.el
+++ b/vlfi.el
@@ -165,6 +165,7 @@ You can customize the number of bytes to
  display by customizing `vlfi-batch-size'."
   (interactive "P\nfFile to open: ")
   (with-current-buffer (generate-new-buffer "*vlfi*")
+    (buffer-disable-undo)
     (setq buffer-file-name file
           vlfi-file-size (nth 7 (file-attributes file)))
     (if from-end



reply via email to

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