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:
@@ -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
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user