diff options
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/search.c b/src/search.c index 76ba6607ed..3ad9140c12 100644 --- a/src/search.c +++ b/src/search.c @@ -1077,9 +1077,6 @@ do_search(oap, dirc, pat, count, options, tm) char_u *dircp; char_u *strcopy = NULL; char_u *ps; -#ifdef FEAT_CONCEAL - linenr_T oldline = curwin->w_cursor.lnum; -#endif /* * A line offset is not remembered, this is vi compatible. @@ -1425,13 +1422,6 @@ do_search(oap, dirc, pat, count, options, tm) setpcmark(); curwin->w_cursor = pos; curwin->w_set_curswant = TRUE; -#ifdef FEAT_CONCEAL - if (curwin->w_p_conceal && oldline != curwin->w_cursor.lnum) - { - update_single_line(curwin, oldline); - update_single_line(curwin, curwin->w_cursor.lnum); - } -#endif end_do_search: if (options & SEARCH_KEEP) |