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

PATCH: pws-22: utterly minor zle_tricky.c fix



*** Src/Zle/zle_tricky.c.minor	Wed Jun 16 09:49:30 1999
--- Src/Zle/zle_tricky.c	Wed Jun 16 14:13:24 1999
***************
*** 4710,4716 ****
      int onm = nmatches, osi = movefd(0);
  
      /* Inside $... ? */
!     if (compfunc && (p = check_param(s, 0, NULL)))
  	os = s = p;
  
      /* We build a copy of the list of matchers to use to make sure that this
--- 4710,4716 ----
      int onm = nmatches, osi = movefd(0);
  
      /* Inside $... ? */
!     if (compfunc && (p = check_param(s, 0, 0)))
  	os = s = p;
  
      /* We build a copy of the list of matchers to use to make sure that this
***************
*** 5791,5797 ****
  	ic = 0;
  
      /* Check if we have to complete a parameter name... */
!     if (!incompfunc && (p = check_param(s, 1, NULL))) {
  	s = p;
  	/* And now make sure that we complete parameter names. */
  	cc = &cc_dummy;
--- 5791,5797 ----
  	ic = 0;
  
      /* Check if we have to complete a parameter name... */
!     if (!incompfunc && (p = check_param(s, 1, 0))) {
  	s = p;
  	/* And now make sure that we complete parameter names. */
  	cc = &cc_dummy;

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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