summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-19 14:51:06 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-19 14:51:06 +0000
commitcde71bb1a58e8fd9a953106059e9415ab166de86 (patch)
tree8acbae0b88f92dab7e03840987100cc0dd7ea803
parentc071087d1f9850d2c6e9c690797d833c6cb6268f (diff)
downloadzsh-cde71bb1a58e8fd9a953106059e9415ab166de86.tar.gz
zsh-cde71bb1a58e8fd9a953106059e9415ab166de86.tar.xz
zsh-cde71bb1a58e8fd9a953106059e9415ab166de86.zip
make undo break out of menu selection if nothing to undo inside it (11992)
-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);