From 06e1e5eeacf67b11490431c3d36700a73cf49d88 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 6 Feb 2021 22:59:00 +0200 Subject: [PATCH] Revert "Fix the previous change" This reverts commit fc37dc298f27025823fad2d944e11cc7ee6a058d. That change was only needed in the release branch. --- lisp/progmodes/project.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 4c9b70ce043..abe563bec04 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -725,7 +725,7 @@ requires quoting, e.g. `\\[quoted-insert]'." (require 'xref) (require 'grep) (let* ((pr (project-current t)) - (default-directory (car (project-roots pr))) + (default-directory (project-root pr)) (files (if (not current-prefix-arg) (project-files pr) @@ -757,7 +757,7 @@ pattern to search for." (interactive (list (project--read-regexp))) (require 'xref) (let* ((pr (project-current t)) - (default-directory (car (project-roots pr))) + (default-directory (project-root pr)) (files (project-files pr (cons (project-root pr) -- 2.39.2