summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index b0fad01ed..ba12fd4e6 100644
--- a/src/option.c
+++ b/src/option.c
@@ -6030,6 +6030,7 @@ valid_filetype(char_u *val)
return valid_name(val, ".-_");
}
+#if defined(FEAT_SPELL) || defined(PROTO)
/*
* Return TRUE if "val" is a valid 'spellang' value.
*/
@@ -6052,6 +6053,7 @@ valid_spellfile(char_u *val)
return FALSE;
return TRUE;
}
+#endif
/*
* Handle string options that need some action to perform when changed.