; xref-find-regexp: (require 'grep), for grep-read-files
This commit is contained in:
parent
e48a116780
commit
a0b8421e3b
1 changed files with 1 additions and 0 deletions
|
@ -773,6 +773,7 @@ With prefix argument, prompt for the identifier."
|
|||
With \\[universal-argument] prefix, you can specify the directory
|
||||
to search in, and the file name pattern to search for."
|
||||
(interactive (list (xref--read-identifier "Find regexp: ")))
|
||||
(require 'grep)
|
||||
(let* ((proj (project-current))
|
||||
(files (if current-prefix-arg
|
||||
(grep-read-files regexp)
|
||||
|
|
Loading…
Add table
Reference in a new issue