]> granicus.if.org Git - vim/commit
patch 8.2.2900: QuitPre is triggered before :wq writes the file v8.2.2900
authorBram Moolenaar <Bram@vim.org>
Sat, 29 May 2021 12:30:43 +0000 (14:30 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 May 2021 12:30:43 +0000 (14:30 +0200)
commit1174b018a6d705ddb8c04f3d21f78ae760aa0856
tree1e7acb70f37f5755f15f001499dec24355304e9e
parentf89be8de14cc9055d12f7b0f2c270a5bc09fc86c
patch 8.2.2900: QuitPre is triggered before :wq writes the file

Problem:    QuitPre is triggered before :wq writes the file, which is
            different from other commands.
Solution:   Trigger QuitPre after writing the file. (closes #8279)
src/ex_docmd.c
src/testdir/test_writefile.vim
src/version.c