From cf3d4f6d57ddfeaa5bb72d399bdf47e45e3d4782 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 12 Jul 2002 23:56:12 +0000 Subject: [PATCH] (grep-tree): Fixed autoload. Corrected use of undefined variable `match-files-aliases'. --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index c06d01594bd..b0f2457df66 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -862,10 +862,10 @@ easily repeat a find command." (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 @@ those sub directories of DIR." (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 -- 2.39.5