summary refs log tree commit diff
path: root/Src/Zle/zle_hist.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-28 20:31:51 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-28 20:31:51 +0100
commitf9d7651c2554bb5db0373f63185ff358f795ab3c (patch)
tree0fa56b15a92ad8b2f1cb69140bcce4f969780b03 /Src/Zle/zle_hist.c
parenta5cb918d4018bbd5cdc8751e5c9f4f55f0a211be (diff)
downloadzsh-f9d7651c2554bb5db0373f63185ff358f795ab3c.tar.gz
zsh-f9d7651c2554bb5db0373f63185ff358f795ab3c.tar.xz
zsh-f9d7651c2554bb5db0373f63185ff358f795ab3c.zip
36682: expand pattern interface to optimise unmetafication
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r--Src/Zle/zle_hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index 0cff0391a..95d96c95c 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -1306,8 +1306,8 @@ doisearch(char **args, int dir, int pattern)
 			     * this mode.
 			     */
 			    if (!skip_pos &&
-				pattryrefs(patprog, zt, -1, -1, 0, NULL, NULL,
-					   &end_pos))
+				pattryrefs(patprog, zt, -1, -1, NULL, 0,
+					   NULL, NULL, &end_pos))
 				t = zt;
 			} else {
 			    if (!matchlist && !skip_pos) {