From: Richard M. Stallman Date: Fri, 9 Jan 1998 23:28:38 +0000 (+0000) Subject: (Fdirectory_files): Fix arg to compile_pattern. X-Git-Tag: emacs-20.3~2440 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c872c6b297d119b93351d42b6d9865812ecf29bf;p=emacs.git (Fdirectory_files): Fix arg to compile_pattern. --- 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 }