summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/option.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/option.c b/src/option.c
index 06e569ca4..fc384536a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -7516,21 +7516,12 @@ set_bool_option(opt_idx, varp, value, opt_flags)
}
#endif
-#if defined(FEAT_TITLE) || defined(FEAT_CONCEAL)
- /* when 'modifiable' is changed, redraw the window title and
- * update current line for concealable items */
+#ifdef FEAT_TITLE
+ /* when 'modifiable' is changed, redraw the window title */
else if ((int *)varp == &curbuf->b_p_ma)
{
-# ifdef FEAT_TITLE
redraw_titles();
-# endif
-# ifdef FEAT_CONCEAL
- if (curwin->w_p_cole > 0)
- update_single_line(curwin, curwin->w_cursor.lnum);
-# endif
}
-#endif
-#ifdef FEAT_TITLE
/* when 'endofline' is changed, redraw the window title */
else if ((int *)varp == &curbuf->b_p_eol)
{