summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-10 14:55:34 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-10 14:55:34 +0000
commit779b74b2a23643aaac026341a4ed8bd6e04371e6 (patch)
treeff8fae99da608c087d6b56075dac7c0e73a7e1d7 /src/option.c
parentc6fe919573e82727a7de014daab122ffc5001854 (diff)
downloadvim-git-779b74b2a23643aaac026341a4ed8bd6e04371e6.tar.gz
updated for version 7.0dv7.0d
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c
index 8ed4f3469..0a4d9c7dd 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2811,7 +2811,7 @@ static char *(p_bsdir_values[]) = {"current", "last", "buffer", NULL};
#ifdef FEAT_SCROLLBIND
static char *(p_scbopt_values[]) = {"ver", "hor", "jump", NULL};
#endif
-static char *(p_swb_values[]) = {"useopen", "split", NULL};
+static char *(p_swb_values[]) = {"useopen", "usetab", "split", NULL};
static char *(p_debug_values[]) = {"msg", "beep", NULL};
#ifdef FEAT_VERTSPLIT
static char *(p_ead_values[]) = {"both", "ver", "hor", NULL};
@@ -7767,7 +7767,7 @@ set_num_option(opt_idx, varp, value, errbuf, errbuflen, opt_flags)
{
/* use the old value, otherwise u_sync() may not work properly */
p_ul = old_value;
- u_sync();
+ u_sync(TRUE);
p_ul = value;
}