Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problem with completion matching control



Peter Stephenson wrote:

> Sven Wischnowsky wrote:
> > The patch below is a bit of an overhaul for the usage of completion
> > options in do_ambiguous().
> 
> There's now a widowed
> 
>     if (am)
> 	lastambig = 1;
> 
> at the end of do_ambiguous, with the declaration for `am' having
> disappeared.  Can I just remove both lines?

Yes (sorry, I had commented out the uses of am before and removed it
just before sending the patch, I thought I had re-compiled it, but
maybe without previously saving tricky.c).

Bye
 Sven

--- os/Zle/zle_tricky.c	Wed Feb 17 08:59:28 1999
+++ Src/Zle/zle_tricky.c	Wed Feb 17 08:59:33 1999
@@ -5584,8 +5584,6 @@
     if (isset(AUTOLIST) && !isset(BASHAUTOLIST) && !amenu && !showinglist &&
 	smatches >= 2)
 	showinglist = -2;
-    if (am)
-	lastambig = 1;
 }
 
 /* This is a stat that ignores backslashes in the filename.  The `ls' *

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author