1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-03 08:11:03 +02:00

24890: Matt Wozniski: reset skip_pos on backtracking in isearch

This commit is contained in:
Peter Stephenson 2008-04-28 10:56:42 +00:00
parent 0c0213b517
commit be947a5606
2 changed files with 18 additions and 14 deletions

View file

@ -1,5 +1,8 @@
2008-04-28 Peter Stephenson <pws@csr.com>
* 24890: Matt Wozniski: Src/Zle/zle_hist.c: skip_pos was
staying set causing random failures on backtracking in isearch.
* 24887: Geoff: Src/glob.c: typo.
2008-04-27 Peter Stephenson <p.w.stephenson@ntlworld.com>

View file

@ -1449,6 +1449,7 @@ doisearch(char **args, int dir, int pattern)
&end_pos, &zlemetacs, &sbptr, &dir, &nomatch);
patprog = NULL;
nosearch = 1;
skip_pos = 0;
} else
feep = 1;
if (nomatch) {