summaryrefslogtreecommitdiff
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 f63698554..cfd681756 100644
--- a/src/option.c
+++ b/src/option.c
@@ -4463,6 +4463,7 @@ get_encoding_default(void)
return (char_u *)NULL;
}
+#if defined(FEAT_QUICKFIX) || defined(PROTO)
int
is_option_allocated(char *name)
{
@@ -4470,6 +4471,7 @@ is_option_allocated(char *name)
return idx >= 0 && (options[idx].flags & P_ALLOCED);
}
+#endif
/*
* Translate a string like "t_xx", "<t_xx>" or "<S-Tab>" to a key number.
@@ -7179,6 +7181,7 @@ get_bkc_value(buf_T *buf)
return buf->b_bkc_flags ? buf->b_bkc_flags : bkc_flags;
}
+#if defined(FEAT_LINEBREAK) || defined(PROTO)
/*
* Get the local or global value of 'formatlistpat'.
*/
@@ -7189,6 +7192,7 @@ get_flp_value(buf_T *buf)
return p_flp;
return buf->b_p_flp;
}
+#endif
/*
* Get the local or global value of the 'virtualedit' flags.