On Fr, 08 Nov 2013, Bram Moolenaar wrote:

> + # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); 
> set_vim_var_nr(VV_HLSEARCH, !no_hlsearch)

Is there a reason, this is not e.g. 

# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); 
set_vim_var_nr(VV_HLSEARCH, p_hls && !no_hlsearch)

(e.g. v:hlsearch only returns 1 if 'hls' is set).

I just was confused by the fact, that after searching for a string 
v:hlsearch was 1 although 'hls' was not set.

Best,
Christian
-- 
Alles, was die Menschen in Bewegung setzt, muß durch ihren Kopf
hindurch, aber welche Gestalt es in diesem Kopf annimmt, hängt von den
Umständen ab.
                -- Friedrich Engels

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui