diff src/ex_docmd.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 5c1aaf9b4b1b
children e7ff3251dfa1
line wrap: on
line diff
--- 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