Hi Bram and list,

2016-8-27(Sat) 2:14:14 UTC+9 Bram Moolenaar:
> Patch 7.4.2259
> Problem:    With 'incsearch' can only see the next match.
> Solution:   Make CTRL-N/CTRL-P move to the previous/next match. (Christian
>             Brabandt)
> Files:      runtime/doc/cmdline.txt, src/ex_getln.c, src/testdir/Make_all.mak,
>             src/testdir/test_search.vim, src/Makefile
[...]

Probably, I think that the attached patch is better to include.
It's not an error because the static function.
However it is better to mimic the other static functions.

--
Best regards,
Hirohito Higashi (a.k.a. h_east)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index f6e5097..881d057 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -7077,7 +7077,7 @@ script_get(exarg_T *eap, char_u *cmd)
     return (char_u *)ga.ga_data;
 }
 
-#ifdef FEAT_SEARCH_EXTRA
+#if defined(FEAT_SEARCH_EXTRA) || defined(PROTO)
     static void
 set_search_match(pos_T *t)
 {

Raspunde prin e-mail lui