X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fdired.c;h=bfbae2d281c5c7dc896f8dec907beb1e55d6a1a4;hp=48f9a282cd331046ec397c65af7ddda77f50837d;hb=1cc5b779cb8755e01e02aead4fba711c06158b90;hpb=40402600969429d5253e62c6314a3eebbb21f027 diff --git a/src/dired.c b/src/dired.c index 48f9a28..bfbae2d 100644 --- a/src/dired.c +++ b/src/dired.c @@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */ #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 FILES-ONLY is the symbol t, then only the "files" in the directory 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 */