summaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index 48178fda3b..e58068020c 100644
--- a/src/help.c
+++ b/src/help.c
@@ -708,7 +708,8 @@ fix_help_buffer(void)
if (STRCMP(curbuf->b_p_ft, "help") != 0)
{
++curbuf_lock;
- set_option_value((char_u *)"ft", 0L, (char_u *)"help", OPT_LOCAL);
+ set_option_value_give_err((char_u *)"ft",
+ 0L, (char_u *)"help", OPT_LOCAL);
--curbuf_lock;
}