]> git.eshelyaron.com Git - emacs.git/commit
Add quoted filename support to 'project-find-regexp' (Bug#47799).
authorPhilipp Stephani <phst@google.com>
Sun, 18 Apr 2021 19:47:53 +0000 (21:47 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 18 Apr 2021 19:59:25 +0000 (21:59 +0200)
commit6ebc6e12cfa8909655e3c0e722d3c5727ea418d8
tree3929606b4fbbc40db68abafeb30d49da9a784950
parent55b22bff6d5fc573c2d1e5b05faa12bed5ee4156
Add quoted filename support to 'project-find-regexp' (Bug#47799).

This is only a band-aid; it would be better to fix xref.el to work
with quoted filenames as well.

* lisp/progmodes/project.el (project--find-regexp-in-files): Unquote
filenames before passing them to 'xref-matches-in-files'.
* test/lisp/progmodes/project-tests.el (project/quoted-directory):
Also test 'project-find-regexp'.
lisp/progmodes/project.el
test/lisp/progmodes/project-tests.el