diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/dired.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 35c81a87ac9..0c2b34a4ee6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-03-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * dired.c (file_name_completion): Disable the first optimization just | ||
| 4 | installed, since it is not implemented correctly. | ||
| 5 | |||
| 1 | 2009-03-17 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2009-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * dired.c (file_name_completion): Check completion-ignored-extensions | 8 | * dired.c (file_name_completion): Check completion-ignored-extensions |
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 | { |