* 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.
(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))
(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)