1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00

; xref-find-regexp: (require 'grep), for grep-read-files

This commit is contained in:
Dmitry Gutov 2015-07-22 23:08:50 +03:00
parent e48a116780
commit a0b8421e3b

View File

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