comparison src/quickfix.c @ 3365:9ccdc4a69d8f v7.3.449

updated for version 7.3.449 Problem: Crash when a BufWinLeave autocommand closes the only other window. (Daniel Hunt) Solution: Abort closing a buffer when it becomes the only one.
author Bram Moolenaar <bram@vim.org>
date Wed, 22 Feb 2012 14:58:37 +0100
parents 5850b5827691
children 38a135730423
comparison
equal deleted inserted replaced
3364:e8d5db3a6d4f 3365:9ccdc4a69d8f
3563 static void 3563 static void
3564 unload_dummy_buffer(buf) 3564 unload_dummy_buffer(buf)
3565 buf_T *buf; 3565 buf_T *buf;
3566 { 3566 {
3567 if (curbuf != buf) /* safety check */ 3567 if (curbuf != buf) /* safety check */
3568 close_buffer(NULL, buf, DOBUF_UNLOAD); 3568 close_buffer(NULL, buf, DOBUF_UNLOAD, FALSE);
3569 } 3569 }
3570 3570
3571 #if defined(FEAT_EVAL) || defined(PROTO) 3571 #if defined(FEAT_EVAL) || defined(PROTO)
3572 /* 3572 /*
3573 * Add each quickfix error to list "list" as a dictionary. 3573 * Add each quickfix error to list "list" as a dictionary.