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, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 67cbab36f..06b513be7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-19  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 11992: Src/Zle/complist.c: make undo break out of menu selection
+ 	if nothing to undo inside it
+	
 	* 11985: Completion/Debian/_dpkg, Doc/Zsh/compsys.yo, Src/Zle/computil.c:
  	_arguments: small fix for -s and new `!...' for things not to
  	complete (but to understand)
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index f4542ee36..445c89bb7 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1852,7 +1852,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    int l;
 
 	    if (!u)
-		goto getk;
+		break;
 
 	    cs = 0;
 	    foredel(ll);