# HG changeset patch # User Stefan Monnier # Date 1237343189 0 # Node ID d4e19d304e30fba5d6f6fae50a0120f929c37f1c # Parent 7183ab1b842ab6c67dfd1d7b0892480c37514ec4 (file_name_completion): Disable the first optimization just installed, since it is not implemented correctly. diff -r 7183ab1b842a -r d4e19d304e30 src/ChangeLog --- a/src/ChangeLog Tue Mar 17 19:05:40 2009 +0000 +++ b/src/ChangeLog Wed Mar 18 02:26:29 2009 +0000 @@ -1,3 +1,8 @@ +2009-03-18 Stefan Monnier + + * dired.c (file_name_completion): Disable the first optimization just + installed, since it is not implemented correctly. + 2009-03-17 Stefan Monnier * dired.c (file_name_completion): Check completion-ignored-extensions diff -r 7183ab1b842a -r d4e19d304e30 src/dired.c --- a/src/dired.c Tue Mar 17 19:05:40 2009 +0000 +++ b/src/dired.c Wed Mar 18 02:26:29 2009 +0000 @@ -538,6 +538,7 @@ { int skip; +#if 0 /* FIXME: The `scmp' call compares an encoded and a decoded string. */ /* If this entry matches the current bestmatch, the only thing it can do is increase matchcount, so don't bother investigating it any further. */ @@ -548,6 +549,7 @@ && len >= bestmatchsize && 0 > scmp (dp->d_name, SDATA (bestmatch), bestmatchsize)) continue; +#endif if (directoryp) {