diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index e21600ffe09..d8909aca740 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -485,7 +485,7 @@ pattern to search for." (buffer-substring (point-min) (line-end-position)))) (while (re-search-forward grep-re nil t) (push (list (string-to-number (match-string line-group)) - (concat remote-id (match-string file-group)) + (match-string file-group) (buffer-substring-no-properties (point) (line-end-position))) hits))) (setq xrefs (xref--convert-hits (nreverse hits) regexp))