Set vlf-application to avoid load order issues

This commit is contained in:
TEC 2024-03-08 17:00:22 +08:00
parent 43b0a38531
commit cad07308bc
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 0 deletions

View File

@ -3520,6 +3520,7 @@ To make VLF available without delaying startup, we'll just load it in quiet mome
vlf-search vlf-occur vlf-follow vlf-ediff vlf
:commands vlf vlf-mode
:init
(defvar vlf-application 'ask) ; Avoid load-order issues
<<vlf-largefile-prompt>>
:config
(advice-remove 'abort-if-file-too-large #'ad-Advice-abort-if-file-too-large)