aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dired.c b/src/dired.c
index b6bc7067736..4beac6e50e4 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -538,6 +538,7 @@ file_name_completion (file, dirname, all_flag, ver_flag, predicate)
538 { 538 {
539 int skip; 539 int skip;
540 540
541#if 0 /* FIXME: The `scmp' call compares an encoded and a decoded string. */
541 /* If this entry matches the current bestmatch, the only 542 /* If this entry matches the current bestmatch, the only
542 thing it can do is increase matchcount, so don't bother 543 thing it can do is increase matchcount, so don't bother
543 investigating it any further. */ 544 investigating it any further. */
@@ -548,6 +549,7 @@ file_name_completion (file, dirname, all_flag, ver_flag, predicate)
548 && len >= bestmatchsize 549 && len >= bestmatchsize
549 && 0 > scmp (dp->d_name, SDATA (bestmatch), bestmatchsize)) 550 && 0 > scmp (dp->d_name, SDATA (bestmatch), bestmatchsize))
550 continue; 551 continue;
552#endif
551 553
552 if (directoryp) 554 if (directoryp)
553 { 555 {