Commit 7519c40d authored by Stefan Monnier's avatar Stefan Monnier

(file_name_completion): Disable the first optimization just

installed, since it is not implemented correctly.
parent 2cd298e2
2009-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
* dired.c (file_name_completion): Disable the first optimization just
installed, since it is not implemented correctly.
2009-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
* dired.c (file_name_completion): Check completion-ignored-extensions
......
......@@ -538,6 +538,7 @@ file_name_completion (file, dirname, all_flag, ver_flag, predicate)
{
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 @@ file_name_completion (file, dirname, all_flag, ver_flag, predicate)
&& len >= bestmatchsize
&& 0 > scmp (dp->d_name, SDATA (bestmatch), bestmatchsize))
continue;
#endif
if (directoryp)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment