mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-10 06:00:51 +00:00
Fix the previous change
* lisp/progmodes/project.el (project-find-regexp): Fix the previous change (project-root is not defined in this version). (project-or-external-find-regexp): Same.
This commit is contained in:
parent
b99848c72c
commit
fc37dc298f
1 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ requires quoting, e.g. `\\[quoted-insert]<space>'."
|
|||
(require 'xref)
|
||||
(require 'grep)
|
||||
(let* ((pr (project-current t))
|
||||
(default-directory (project-root pr))
|
||||
(default-directory (car (project-roots pr)))
|
||||
(files
|
||||
(if (not current-prefix-arg)
|
||||
(project-files pr (project-roots pr))
|
||||
|
@ -474,7 +474,7 @@ pattern to search for."
|
|||
(interactive (list (project--read-regexp)))
|
||||
(require 'xref)
|
||||
(let* ((pr (project-current t))
|
||||
(default-directory (project-root pr))
|
||||
(default-directory (car (project-roots pr)))
|
||||
(files
|
||||
(project-files pr (append
|
||||
(project-roots pr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue