diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-28 11:35:54 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-28 11:35:54 +0000 |
commit | 7462e3f97882ab00933a1a1704b67622e853c89e (patch) | |
tree | 8669a1c436c0ee0493bab43bc4fbdca5689142c2 /Src/Zle | |
parent | be947a560657f46438bb5f0c40cc0ac8cda6e2ec (diff) | |
download | zsh-7462e3f97882ab00933a1a1704b67622e853c89e.tar.gz zsh-7462e3f97882ab00933a1a1704b67622e853c89e.tar.xz zsh-7462e3f97882ab00933a1a1704b67622e853c89e.zip |
unposted: more tweaks for failed isearch pattern matches
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_hist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index bc3cdf634..be52210cc 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -1197,6 +1197,7 @@ doisearch(char **args, int dir, int pattern) } if (patprog) { revert_patpos = 1; + skip_pos = 0; } else { if (nomatch != 2) { handlefeep(zlenoargs); @@ -1342,7 +1343,7 @@ doisearch(char **args, int dir, int pattern) get_isrch_spot(top_spot, &hl, &pos, &pat_hl, &pat_pos, &end_pos, &zlemetacs, &sbptr, &dir, &nomatch); - if (!nomatch) { + if (nomatch != 1) { feep = 1; nomatch = 1; } |