about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/complist.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b3315f4f..a700af11e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-27  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
+	* 10961: Src/Zle/complist.c: make menu-selection handle
+ 	undefined-key
+	
 	* 10959: Completion/Core/_main_complete, Doc/Zsh/compsys.yo,
  	Doc/Zsh/mod_complist.yo, Src/params.c, Src/Zle/compcore.c,
  	Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/compresult.c:
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 86a0b1ff6..a53e09d06 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2034,6 +2034,8 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    setwish = 1;
 	    mline = -1;
 	    continue;
+	} else if (cmd == Th(z_undefinedkey)) {
+	    continue;
 	} else {
 	    ungetkeycmd();
 	    break;