summaryrefslogtreecommitdiffstats
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index dd51593145..169f92998a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -753,6 +753,7 @@ set_number_default(char *name, long val)
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)(long_i)val;
}
+#if defined(FEAT_PROP_POPUP) || defined(PROTO)
/*
* Set all window-local and buffer-local options to the Vim default.
* local-global options will use the global value.
@@ -784,6 +785,7 @@ set_local_options_default(win_T *wp, int do_buffer)
curwin = save_curwin;
curbuf = curwin->w_buffer;
}
+#endif
#if defined(EXITFREE) || defined(PROTO)
/*
@@ -5535,6 +5537,7 @@ get_option_var(int opt_idx)
return options[opt_idx].var;
}
+#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return the full name of the option at 'opt_idx'
*/
@@ -5543,6 +5546,7 @@ get_option_fullname(int opt_idx)
{
return (char_u *)options[opt_idx].fullname;
}
+#endif
/*
* Get the value of 'equalprg', either the buffer-local one or the global one.