1
0
mirror of https://github.com/m00natic/vlfi.git synced 2025-02-23 21:38:05 +00:00

Disable undo information for VLFI buffers.

This commit is contained in:
Andrey Kotlarski 2013-03-29 15:53:15 +02:00
parent c3051e6131
commit e693e8f24a

View File

@ -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