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:
parent
c3051e6131
commit
e693e8f24a
1
vlfi.el
1
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user