mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
This commit is contained in:
@@ -3409,9 +3409,7 @@ jumpto_tag(
|
||||
#ifdef FEAT_SEARCH_EXTRA
|
||||
/* restore no_hlsearch when keeping the old search pattern */
|
||||
if (search_options)
|
||||
{
|
||||
SET_NO_HLSEARCH(save_no_hlsearch);
|
||||
}
|
||||
set_no_hlsearch(save_no_hlsearch);
|
||||
#endif
|
||||
|
||||
/* Return OK if jumped to another file (at least we found the file!). */
|
||||
|
Reference in New Issue
Block a user