]> git.eshelyaron.com Git - emacs.git/commit
Fix project-find-regexp in remote projects
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 18 May 2024 00:24:56 +0000 (03:24 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:52:43 +0000 (20:52 +0200)
commit5044bfa809aa9e1516683665bf979189cfb39b89
tree2032e0b5b2825235cfba803e9ff2e4af7b7a667f
parent2c4ca8744e6e87692a9d2d42d5673ab543913f2b
Fix project-find-regexp in remote projects

* lisp/progmodes/xref.el (xref--hits-file-prefix):
New variable.  Something to prepend to each file name (bug#69233).
(xref--convert-hits): Use it to also store the "default directory"
part of the filename conditionally on whether it's remote.
(xref--collect-matches): Use the new variable here.

(cherry picked from commit db039399cccd38b767bf6a30ba6c5da593eb69cf)
lisp/progmodes/xref.el