aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
authorStefan Monnier2009-03-18 02:26:29 +0000
committerStefan Monnier2009-03-18 02:26:29 +0000
commit7519c40d29d58a1c19eac1c714a2222af7e8a6d2 (patch)
tree12ea1aee00a4a3da48d7b53f5bc96863fb1ed7c4 /src/dired.c
parent2cd298e2db4ef3cd64ee7553a21c4bd7f01f1cd4 (diff)
downloademacs-7519c40d29d58a1c19eac1c714a2222af7e8a6d2.tar.gz
emacs-7519c40d29d58a1c19eac1c714a2222af7e8a6d2.zip
(file_name_completion): Disable the first optimization just
installed, since it is not implemented correctly.
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 {