diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c index b0e4b31fa..d238dc2ba 100644 --- a/src/eval.c +++ b/src/eval.c @@ -16415,7 +16415,7 @@ f_settabvar(argvars, rettv) if (tp != NULL && varname != NULL && varp != NULL) { save_curtab = curtab; - goto_tabpage_tp(tp); + goto_tabpage_tp(tp, TRUE); tabvarname = alloc((unsigned)STRLEN(varname) + 3); if (tabvarname != NULL) @@ -16428,7 +16428,7 @@ f_settabvar(argvars, rettv) /* Restore current tabpage */ if (valid_tabpage(save_curtab)) - goto_tabpage_tp(save_curtab); + goto_tabpage_tp(save_curtab, TRUE); } } @@ -16492,7 +16492,7 @@ setwinvar(argvars, rettv, off) /* set curwin to be our win, temporarily */ save_curwin = curwin; save_curtab = curtab; - goto_tabpage_tp(tp); + goto_tabpage_tp(tp, TRUE); if (!win_valid(win)) return; curwin = win; @@ -16527,7 +16527,7 @@ setwinvar(argvars, rettv, off) /* Restore current tabpage and window, if still valid (autocomands can * make them invalid). */ if (valid_tabpage(save_curtab)) - goto_tabpage_tp(save_curtab); + goto_tabpage_tp(save_curtab, TRUE); if (win_valid(save_curwin)) { curwin = save_curwin; |