Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
3567:deb39ae6bf9c | 3568:09d0bda69df0 |
---|---|
6456 { | 6456 { |
6457 text_locked_msg(); | 6457 text_locked_msg(); |
6458 return; | 6458 return; |
6459 } | 6459 } |
6460 #ifdef FEAT_AUTOCMD | 6460 #ifdef FEAT_AUTOCMD |
6461 apply_autocmds(EVENT_QUITPRE, NULL, NULL, FALSE, curbuf); | |
6461 if (curbuf_locked()) | 6462 if (curbuf_locked()) |
6462 return; | 6463 return; |
6463 #endif | 6464 #endif |
6464 | 6465 |
6465 #ifdef FEAT_NETBEANS_INTG | 6466 #ifdef FEAT_NETBEANS_INTG |