mirror of
https://github.com/m00natic/vlfi.git
synced 2025-10-30 14:43:36 +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:
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))
|
'(define-key dired-mode-map "V" 'dired-vlf))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###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', \
|
"If file SIZE larger than `large-file-warning-threshold', \
|
||||||
allow user to view file with `vlf', open it normally or abort.
|
allow user to view file with `vlf', open it normally or abort.
|
||||||
OP-TYPE specifies the file operation being performed over FILENAME."
|
OP-TYPE specifies the file operation being performed over FILENAME."
|
||||||
|
|||||||
Reference in New Issue
Block a user