@@ -293,7 +293,7 @@ save_re_pat(int idx, char_u *pat, int magic)
293293 /* If 'hlsearch' set and search pat changed: need redraw. */
294294 if (p_hls )
295295 redraw_all_later (SOME_VALID );
296- SET_NO_HLSEARCH (FALSE);
296+ set_no_hlsearch (FALSE);
297297#endif
298298 }
299299}
@@ -336,7 +336,7 @@ restore_search_patterns(void)
336336 spats [1 ] = saved_spats [1 ];
337337#ifdef FEAT_SEARCH_EXTRA
338338 last_idx = saved_last_idx ;
339- SET_NO_HLSEARCH (saved_no_hlsearch );
339+ set_no_hlsearch (saved_no_hlsearch );
340340#endif
341341 }
342342}
@@ -387,7 +387,7 @@ restore_last_search_pattern(void)
387387 set_vv_searchforward ();
388388# endif
389389 last_idx = saved_last_idx ;
390- SET_NO_HLSEARCH (saved_no_hlsearch );
390+ set_no_hlsearch (saved_no_hlsearch );
391391}
392392
393393 char_u *
@@ -1282,7 +1282,7 @@ do_search(
12821282 if (no_hlsearch && !(options & SEARCH_KEEP ))
12831283 {
12841284 redraw_all_later (SOME_VALID );
1285- SET_NO_HLSEARCH (FALSE);
1285+ set_no_hlsearch (FALSE);
12861286 }
12871287#endif
12881288
@@ -5757,9 +5757,7 @@ read_viminfo_search_pattern(vir_T *virp, int force)
57575757 spats [idx ].off .off = off ;
57585758#ifdef FEAT_SEARCH_EXTRA
57595759 if (setlast )
5760- {
5761- SET_NO_HLSEARCH (!hlsearch_on );
5762- }
5760+ set_no_hlsearch (!hlsearch_on );
57635761#endif
57645762 }
57655763 }
0 commit comments