summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-07-16 22:56:42 +0000
committerJim Blandy <jimb@redhat.com>1992-07-16 22:56:42 +0000
commit86be1fb87c4024cb0054b636892d2c930a6a95ce (patch)
tree50c7423128e7f43b5d89f18b6dde0d2acd6afebe /src/dired.c
parentb9c99972f575a5d8eb89e3ca1e801ca98e6f8346 (diff)
downloademacs-86be1fb87c4024cb0054b636892d2c930a6a95ce.tar.gz
*** empty log message ***
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c9
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
}