summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-01-09 23:28:38 +0000
committerRichard M. Stallman <rms@gnu.org>1998-01-09 23:28:38 +0000
commitc872c6b297d119b93351d42b6d9865812ecf29bf (patch)
tree16e3695a575b90fbb9bc6de7cc5890d4ada10734
parent5d967c7a103ce6662ee96654ea92acebc884eded (diff)
downloademacs-c872c6b297d119b93351d42b6d9865812ecf29bf.tar.gz
(Fdirectory_files): Fix arg to compile_pattern.
-rw-r--r--src/dired.c6
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
}