From c872c6b297d119b93351d42b6d9865812ecf29bf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 9 Jan 1998 23:28:38 +0000 Subject: [PATCH] (Fdirectory_files): Fix arg to compile_pattern. --- src/dired.c | 6 ++++-- 1 file 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 } -- 2.39.2