1
0
mirror of https://github.com/m00natic/vlfi.git synced 2025-01-18 20:10:47 +00:00

Fix `vlfi-if-file-too-large' to be more tolerable on GNU Emacs 23.

This commit is contained in:
Andrey Kotlarski 2013-04-11 18:36:39 +03:00
parent a3c405fd37
commit 7985f0f453

11
vlfi.el
View File

@ -264,11 +264,14 @@ OP-TYPE specifies the file operation being performed over FILENAME."
(while (not (memq (setq char
(read-event
(propertize
(format "File %s is large (%s): \
(format
"File %s is large (%s): \
%s normally (o), %s with vlfi (v) or abort (a)"
(file-name-nondirectory filename)
(file-size-human-readable size)
op-type op-type)
(if filename
(file-name-nondirectory filename)
"")
(file-size-human-readable size)
op-type op-type)
'face 'minibuffer-prompt)))
'(?o ?O ?v ?V ?a ?A))))
(cond ((memq char '(?o ?O)))