diff src/dired.c @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents 1ccc32a20af4
children ef4d2466a29c
line wrap: on
line diff
--- a/src/dired.c	Mon Aug 13 11:42:27 2007 +0200
+++ b/src/dired.c	Mon Aug 13 11:43:24 2007 +0200
@@ -33,6 +33,7 @@
 #include "elhash.h"
 #include "regex.h"
 #include "opaque.h"
+#include "syntax.h"
 
 Lisp_Object Vcompletion_ignored_extensions;
 Lisp_Object Qdirectory_files;
@@ -123,6 +124,9 @@
   if (!d)
     report_file_error ("Opening directory", list1 (directory));
 
+  regex_match_object = Qt;
+  regex_emacs_buffer = current_buffer;
+
   record_unwind_protect (close_directory_unwind, make_opaque_ptr ((void *)d));
 
   /* Loop reading blocks */