1
0
forked from aniani/vim

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:
Bram Moolenaar
2018-04-27 22:53:07 +02:00
parent 9d34d90210
commit 451fc7b954
9 changed files with 24 additions and 22 deletions

View File

@@ -2458,12 +2458,6 @@ typedef enum {
/* Character used as separated in autoload function/variable names. */
#define AUTOLOAD_CHAR '#'
#ifdef FEAT_EVAL
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch && p_hls)
#else
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag)
#endif
#ifdef FEAT_JOB_CHANNEL
# define MAX_OPEN_CHANNELS 10
#else