about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/compresult.c4
-rw-r--r--Src/Zle/zle_tricky.c4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a9d88d1e..d7b95acea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-04-12  Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
 
+	* 10686: Src/Zle/compresult.c, Src/Zle/zle_tricky.c: display
+ 	number of lines instead of number of matches when asking whether
+ 	to show completion lists
+	
 	* 10685: Doc/Zsh/zle.yo, Src/hist.c, Src/Modules/parameter.c,
  	Src/Zle/iwidgets.list, Src/Zle/zle_misc.c: new widget
  	copy-prev-shell-word, like copy-prev-word but uses shell parsing
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 6870bbcd9..78b22ff59 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1585,8 +1585,8 @@ mod_export int asklist(void)
 	 (!complistmax && listdat.nlines >= lines))) {
 	int qup;
 	zsetterm();
-	qup = printfmt("zsh: do you wish to see all %n possibilities? ",
-		       listdat.nlist, 1, 1);
+	qup = printfmt("zsh: do you wish to see all %n lines? ",
+		       listdat.nlines, 1, 1);
 	fflush(shout);
 	if (getzlequery() != 'y') {
 	    if (clearflag) {
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 5dc8a5e06..4c7286ee9 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -1991,8 +1991,8 @@ listlist(LinkList l)
 	int qup;
 
 	zsetterm();
-	qup = printfmt("zsh: do you wish to see all %n possibilities? ",
-		       num, 1, 1);
+	qup = printfmt("zsh: do you wish to see all %n lines? ",
+		       nlines, 1, 1);
 	fflush(shout);
 	if (getzlequery() != 'y') {
 	    if (clearflag) {