diff options
| -rw-r--r-- | src/dired.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c index 8c7c7fd5ac6..8b5d7851765 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -175,9 +175,15 @@ directory_files_internal (directory, full, match, nosort, attrs, id_format) | |||
| 175 | #ifdef VMS | 175 | #ifdef VMS |
| 176 | bufp = compile_pattern (match, 0, | 176 | bufp = compile_pattern (match, 0, |
| 177 | buffer_defaults.downcase_table, 0, 1); | 177 | buffer_defaults.downcase_table, 0, 1); |
| 178 | #else | 178 | #else /* !VMS */ |
| 179 | # ifdef WINDOWSNT | ||
| 180 | /* Windows users want case-insensitive wildcards. */ | ||
| 181 | bufp = compile_pattern (match, 0, | ||
| 182 | buffer_defaults.case_canon_table, 0, 1); | ||
| 183 | # else /* !WINDOWSNT */ | ||
| 179 | bufp = compile_pattern (match, 0, Qnil, 0, 1); | 184 | bufp = compile_pattern (match, 0, Qnil, 0, 1); |
| 180 | #endif | 185 | # endif /* !WINDOWSNT */ |
| 186 | #endif /* !VMS */ | ||
| 181 | } | 187 | } |
| 182 | 188 | ||
| 183 | /* Note: ENCODE_FILE and DECODE_FILE can GC because they can run | 189 | /* Note: ENCODE_FILE and DECODE_FILE can GC because they can run |