From: Dmitry Gutov Date: Fri, 27 Dec 2019 14:06:25 +0000 (+0300) Subject: ; project--find-regexp-in-files: Avoid prepending remote-id twice (bug#34343) X-Git-Tag: emacs-27.0.90~271^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=219b91eb2c;p=emacs.git ; project--find-regexp-in-files: Avoid prepending remote-id twice (bug#34343) --- 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))