From f2a2f28f7bde196cd1fa205ac0c20336046cf2cf Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Fri, 16 Jan 2015 20:12:40 +0000
Subject: 32413: turn off history word marking in cmd subst
---
Src/lex.c | 2 ++
1 file changed, 2 insertions(+)
(limited to 'Src/lex.c')
diff --git a/Src/lex.c b/Src/lex.c
index 96da1cbeb..6d45c70c7 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1922,6 +1922,7 @@ skipcomm(void)
new_lexbuf = lexbuf;
zcontext_save_partial(ZCONTEXT_LEX|ZCONTEXT_PARSE);
+ hist_in_word(1);
} else {
/*
* Set up for nested command subsitution, however
@@ -1992,6 +1993,7 @@ skipcomm(void)
tokstr = new_tokstr;
lexbuf = new_lexbuf;
lexstop = new_lexstop;
+ hist_in_word(0);
}
if (!lexstop)
--
cgit 1.4.1