diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-06 18:03:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-06 18:03:07 +0200 |
commit | 3b53dfb3b0743af7d6ae381a766e1bb2018fd01e (patch) | |
tree | 41df451925805c0f5e3fa03fa55e7fd252ae7c42 /src/ex_docmd.c | |
parent | ab984db2969c3f522eb4da694a954cbe6cec7797 (diff) | |
download | vim-git-3b53dfb3b0743af7d6ae381a766e1bb2018fd01e.tar.gz |
updated for version 7.3.544v7.3.544
Problem: There is no good way to close a quickfix window when closing the
last ordinary window.
Solution: Add the QuitPre autocommand.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c1640a318..8d9ceb77b 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -6458,6 +6458,7 @@ ex_quit(eap) return; } #ifdef FEAT_AUTOCMD + apply_autocmds(EVENT_QUITPRE, NULL, NULL, FALSE, curbuf); if (curbuf_locked()) return; #endif |