summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/complist.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee3e8207a..1911ec9d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* 33978: Src/Zle/complist.c: update command line when accept-
+	and-hold is called in interactive mode of menu select
+
 2014-12-17  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* users/19551: Doc/builtins.yo, Doc/Zsh/roadmap.yo: better
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index c129940f7..b6e7e30e9 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2790,7 +2790,9 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    Menustack s = (Menustack) zhalloc(sizeof(*s));
 	    int ol;
 
-            mode = 0;
+	    if (mode == MM_INTER)
+		do_single(*minfo.cur);
+	    mode = 0;
 	    s->prev = u;
 	    u = s;
 	    s->line = dupstring(zlemetaline);