branch: externals/vlf
commit e693e8f24a3006b81028e52d36f8da57fea7c118
Author: Andrey Kotlarski <[email protected]>
Commit: Andrey Kotlarski <[email protected]>
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