Mercurial > vim
diff src/fileio.c @ 3568:09d0bda69df0 v7.3.544
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 06 Jun 2012 18:03:07 +0200 |
parents | b782e2f9e689 |
children | e83c5dcea112 |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -7678,6 +7678,7 @@ static struct event_name {"MenuPopup", EVENT_MENUPOPUP}, {"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST}, {"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE}, + {"QuitPre", EVENT_QUITPRE}, {"RemoteReply", EVENT_REMOTEREPLY}, {"SessionLoadPost", EVENT_SESSIONLOADPOST}, {"ShellCmdPost", EVENT_SHELLCMDPOST},