Set vlf-application to avoid load order issues

This commit is contained in:
Timothy 2024-03-08 17:00:22 +08:00
parent 43b0a38531
commit cad07308bc
Signed by: tec
SSH key fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A

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 vlf-search vlf-occur vlf-follow vlf-ediff vlf
:commands vlf vlf-mode :commands vlf vlf-mode
:init :init
(defvar vlf-application 'ask) ; Avoid load-order issues
<<vlf-largefile-prompt>> <<vlf-largefile-prompt>>
:config :config
(advice-remove 'abort-if-file-too-large #'ad-Advice-abort-if-file-too-large) (advice-remove 'abort-if-file-too-large #'ad-Advice-abort-if-file-too-large)