mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.
This commit is contained in:
parent
310411dbb5
commit
1a9fbabec0
1 changed files with 8 additions and 2 deletions
10
src/dired.c
10
src/dired.c
|
|
@ -175,9 +175,15 @@ directory_files_internal (directory, full, match, nosort, attrs, id_format)
|
|||
#ifdef VMS
|
||||
bufp = compile_pattern (match, 0,
|
||||
buffer_defaults.downcase_table, 0, 1);
|
||||
#else
|
||||
#else /* !VMS */
|
||||
# ifdef WINDOWSNT
|
||||
/* Windows users want case-insensitive wildcards. */
|
||||
bufp = compile_pattern (match, 0,
|
||||
buffer_defaults.case_canon_table, 0, 1);
|
||||
# else /* !WINDOWSNT */
|
||||
bufp = compile_pattern (match, 0, Qnil, 0, 1);
|
||||
#endif
|
||||
# endif /* !WINDOWSNT */
|
||||
#endif /* !VMS */
|
||||
}
|
||||
|
||||
/* Note: ENCODE_FILE and DECODE_FILE can GC because they can run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue