diff options
-rw-r--r-- | src/dired.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c index 60fba4f6839..7176596032e 100644 --- a/src/dired.c +++ b/src/dired.c @@ -166,11 +166,13 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\ /* MATCH might be a flawed regular expression. Rather than catching and signaling our own errors, we just call compile_pattern to do the work for us. */ + /* Pass 1 for the MULTIBYTE arg + because we do make multibyte strings if the contents warrant. */ #ifdef VMS bufp = compile_pattern (match, 0, - buffer_defaults.downcase_table->contents, 0); + buffer_defaults.downcase_table->contents, 0, 1); #else - bufp = compile_pattern (match, 0, 0, 0); + bufp = compile_pattern (match, 0, 0, 0, 1); #endif } |