diff options
author | Jim Blandy <jimb@redhat.com> | 1992-07-16 22:56:42 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-07-16 22:56:42 +0000 |
commit | 86be1fb87c4024cb0054b636892d2c930a6a95ce (patch) | |
tree | 50c7423128e7f43b5d89f18b6dde0d2acd6afebe /src/dired.c | |
parent | b9c99972f575a5d8eb89e3ca1e801ca98e6f8346 (diff) | |
download | emacs-86be1fb87c4024cb0054b636892d2c930a6a95ce.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dired.c b/src/dired.c index f04ed255883..a3b02f089ff 100644 --- a/src/dired.c +++ b/src/dired.c @@ -82,12 +82,15 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\ if (!NILP (match)) { CHECK_STRING (match, 3); - /* Compile it now so we don't get an error after opendir */ + + /* MATCH might be a flawed regular expression. Rather than + catching and signalling our own errors, we just call + compile_pattern to do the work for us. */ #ifdef VMS - compile_pattern (match, &searchbuf, + compile_pattern (match, &searchbuf, 0 buffer_defaults.downcase_table->contents); #else - compile_pattern (match, &searchbuf, 0); + compile_pattern (match, &searchbuf, 0, 0); #endif } |