Mercurial > emacs
changeset 71462:7579ed1c76f1
(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 24 Jun 2006 07:24:42 +0000 |
parents | 90cf42c37682 |
children | f1944cae0a63 |
files | src/dired.c |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dired.c Sat Jun 24 07:00:58 2006 +0000 +++ b/src/dired.c Sat Jun 24 07:24:42 2006 +0000 @@ -175,9 +175,15 @@ #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