emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vlf 782b7e4 009/310: Make filename argument of `vlf-if-


From: Stefan Monnier
Subject: [elpa] externals/vlf 782b7e4 009/310: Make filename argument of `vlf-if-file-too-large' optional so it at
Date: Sat, 28 Nov 2020 00:32:36 -0500 (EST)

branch: externals/vlf
commit 782b7e476b5686e1b1f880fe01e1c533bba28237
Author: Andrey Kotlarski <akotlarski@vayant.com>
Commit: Andrey Kotlarski <akotlarski@vayant.com>

    Make filename argument of `vlf-if-file-too-large' optional so it at
    least doesn't break find file functionality on GNU Emacs 23.
---
 vlf.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlf.el b/vlf.el
index 4ed8ff9..4ca3e00 100644
--- a/vlf.el
+++ b/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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]