mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-31 02:00:47 +00:00
Make filename argument of `vlf-if-file-too-large' optional so it at
least doesn't break find file functionality on GNU Emacs 23.
This commit is contained in:
parent
59d5d2c487
commit
782b7e476b
2
vlf.el
2
vlf.el
@ -189,7 +189,7 @@ With FROM-END prefix, view from the back."
|
||||
'(define-key dired-mode-map "V" 'dired-vlf))
|
||||
|
||||
;;;###autoload
|
||||
(defun vlf-if-file-too-large (size op-type filename)
|
||||
(defun vlf-if-file-too-large (size op-type &optional filename)
|
||||
"If file SIZE larger than `large-file-warning-threshold', \
|
||||
allow user to view file with `vlf', open it normally or abort.
|
||||
OP-TYPE specifies the file operation being performed over FILENAME."
|
||||
|
Loading…
x
Reference in New Issue
Block a user