1
0
forked from aniani/vim

updated for version 7.3.544

Problem:    There is no good way to close a quickfix window when closing the
            last ordinary window.
Solution:   Add the QuitPre autocommand.
This commit is contained in:
Bram Moolenaar
2012-06-06 18:03:07 +02:00
parent ab984db296
commit 3b53dfb3b0
4 changed files with 7 additions and 2 deletions

View File

@@ -6458,6 +6458,7 @@ ex_quit(eap)
return;
}
#ifdef FEAT_AUTOCMD
apply_autocmds(EVENT_QUITPRE, NULL, NULL, FALSE, curbuf);
if (curbuf_locked())
return;
#endif