# HG changeset patch # User Bram Moolenaar # Date 1280666105 -7200 # Node ID a8a010cdd71b5cc2755b39cd9adf9c69a88a716d # Parent 0b8612c2814d7f42f1ba55a846f5c2b7f7e06ba4 No need to redraw cursorline when 'modifiable' is changed. (Dominique Pelle) diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -7516,21 +7516,12 @@ set_bool_option(opt_idx, varp, value, op } #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) {