0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

updated for version 7.0c02

This commit is contained in:
Bram Moolenaar
2006-03-28 21:08:56 +00:00
parent 607a95ed81
commit d2cec5b043
34 changed files with 1139 additions and 207 deletions

View File

@@ -3240,6 +3240,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
buf_copy_options(buf, BCO_ENTER);
/* close the link to the current buffer */
u_sync();
close_buffer(curwin, curbuf,
(flags & ECMD_HIDE) ? 0 : DOBUF_UNLOAD);
@@ -5185,7 +5186,8 @@ free_old_sub()
* Return TRUE when it was created.
*/
int
prepare_tagpreview()
prepare_tagpreview(undo_sync)
int undo_sync; /* sync undo when leaving the window */
{
win_T *wp;
@@ -5202,7 +5204,7 @@ prepare_tagpreview()
if (wp->w_p_pvw)
break;
if (wp != NULL)
win_enter(wp, TRUE);
win_enter(wp, undo_sync);
else
{
/*