1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00

; project--find-regexp-in-files: Avoid prepending remote-id twice (bug#34343)

This commit is contained in:
Dmitry Gutov 2019-12-27 17:06:25 +03:00
parent d627fc7d55
commit 219b91eb2c

View file

@ -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))