changeset 46344:d4001fdfa742

(grep-tree): Fixed autoload. Corrected use of undefined variable `match-files-aliases'.
author Kim F. Storm <storm@cua.dk>
date Fri, 12 Jul 2002 23:56:12 +0000
parents fb71432c8a02
children 38401651e92c
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Fri Jul 12 23:47:31 2002 +0000
+++ b/lisp/progmodes/compile.el	Fri Jul 12 23:56:12 2002 +0000
@@ -862,10 +862,10 @@
 				  (or regexp "") command t t))
   command)
 
-;;;###autoload
 (defvar grep-tree-last-regexp "")
 (defvar grep-tree-last-files (car (car grep-tree-files-aliases)))
 
+;;;###autoload
 (defun grep-tree (regexp files dir &optional subdirs)
   "Grep for REGEXP in FILES in directory tree rooted at DIR.
 Collect output in a buffer.
@@ -904,7 +904,7 @@
     (setq files grep-tree-last-files))
   (when files
     (setq grep-tree-last-files files)
-    (let ((mf (assoc files match-files-aliases)))
+    (let ((mf (assoc files grep-tree-files-aliases)))
       (if mf
 	  (setq files (cdr mf)))))
   (let ((command-args (grep-expand-command-macros