comparison src/tag.c @ 13792:0e9b2971d7c3 v8.0.1768

patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way commit https://github.com/vim/vim/commit/451fc7b954906069f1830a8092ad85616049a828 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 27 22:53:07 2018 +0200 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)
author Christian Brabandt <cb@256bit.org>
date Fri, 27 Apr 2018 23:00:07 +0200
parents 69517d67421f
children 4afe2386aae8
comparison
equal deleted inserted replaced
13791:3c843dbf1c91 13792:0e9b2971d7c3
3407 --sandbox; 3407 --sandbox;
3408 #endif 3408 #endif
3409 #ifdef FEAT_SEARCH_EXTRA 3409 #ifdef FEAT_SEARCH_EXTRA
3410 /* restore no_hlsearch when keeping the old search pattern */ 3410 /* restore no_hlsearch when keeping the old search pattern */
3411 if (search_options) 3411 if (search_options)
3412 { 3412 set_no_hlsearch(save_no_hlsearch);
3413 SET_NO_HLSEARCH(save_no_hlsearch);
3414 }
3415 #endif 3413 #endif
3416 3414
3417 /* Return OK if jumped to another file (at least we found the file!). */ 3415 /* Return OK if jumped to another file (at least we found the file!). */
3418 if (getfile_result == GETFILE_OPEN_OTHER) 3416 if (getfile_result == GETFILE_OPEN_OTHER)
3419 retval = OK; 3417 retval = OK;