mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(grep-tree): Fixed autoload.
Corrected use of undefined variable `match-files-aliases'.
This commit is contained in:
parent
325309f505
commit
cf3d4f6d57
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue