comparison src/ex_cmds.c @ 2254:4620acaf4814 vim73

One more fix for conceal patch.
author Bram Moolenaar <bram@vim.org>
date Sun, 06 Jun 2010 17:41:24 +0200
parents 12ebd6f6dfce
children 941ff1cd317a
comparison
equal deleted inserted replaced
2253:12ebd6f6dfce 2254:4620acaf4814
3569 new_name = vim_strsave(buf->b_fname); 3569 new_name = vim_strsave(buf->b_fname);
3570 else 3570 else
3571 new_name = NULL; 3571 new_name = NULL;
3572 #endif 3572 #endif
3573 buf_freeall(curbuf, FALSE, FALSE); /* free all things for buffer */ 3573 buf_freeall(curbuf, FALSE, FALSE); /* free all things for buffer */
3574 #ifdef FEAT_SYN_HL
3575 reset_synblock(curwin); /* remove any ownsyntax */
3576 #endif
3577 #ifdef FEAT_AUTOCMD 3574 #ifdef FEAT_AUTOCMD
3578 /* If autocommands deleted the buffer we were going to re-edit, give 3575 /* If autocommands deleted the buffer we were going to re-edit, give
3579 * up and jump to the end. */ 3576 * up and jump to the end. */
3580 if (!buf_valid(buf)) 3577 if (!buf_valid(buf))
3581 { 3578 {
3615 3612
3616 /* 3613 /*
3617 * Check if we are editing the w_arg_idx file in the argument list. 3614 * Check if we are editing the w_arg_idx file in the argument list.
3618 */ 3615 */
3619 check_arg_idx(curwin); 3616 check_arg_idx(curwin);
3617
3618 #ifdef FEAT_SYN_HL
3619 reset_synblock(curwin); /* remove any ownsyntax */
3620 #endif
3620 3621
3621 #ifdef FEAT_AUTOCMD 3622 #ifdef FEAT_AUTOCMD
3622 if (!auto_buf) 3623 if (!auto_buf)
3623 #endif 3624 #endif
3624 { 3625 {