1
0
forked from aniani/vim

patch 9.0.1538: :wqall does not trigger ExitPre

Problem:    :wqall does not trigger ExitPre. (Bart Libert)
Solution:   Move preparations for :qall to a common function. (closes #12374)
This commit is contained in:
Bram Moolenaar
2023-05-10 16:53:27 +01:00
parent 65b34868da
commit 411da64e77
5 changed files with 37 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ char_u *get_command_name(expand_T *xp, int idx);
void not_exiting(void);
int before_quit_autocmds(win_T *wp, int quit_all, int forceit);
void ex_quit(exarg_T *eap);
int before_quit_all(exarg_T *eap);
void tabpage_close(int forceit);
void tabpage_close_other(tabpage_T *tp, int forceit);
void ex_stop(exarg_T *eap);