diff options
| author | Dmitry Gutov | 2015-07-22 23:08:50 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2015-07-22 23:08:50 +0300 |
| commit | a0b8421e3b246c73ce3f9c1bfc7cce32bc1fe883 (patch) | |
| tree | 8143bf88fd872e3b3a98d46a04c8a6059a6fd5a5 | |
| parent | e48a116780dfe955023734190d83495da9aea24b (diff) | |
| download | emacs-a0b8421e3b246c73ce3f9c1bfc7cce32bc1fe883.tar.gz emacs-a0b8421e3b246c73ce3f9c1bfc7cce32bc1fe883.zip | |
; xref-find-regexp: (require 'grep), for grep-read-files
| -rw-r--r-- | lisp/progmodes/xref.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 5f681b0f2ce..9d0dd77743f 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -773,6 +773,7 @@ With prefix argument, prompt for the identifier." | |||
| 773 | With \\[universal-argument] prefix, you can specify the directory | 773 | With \\[universal-argument] prefix, you can specify the directory |
| 774 | to search in, and the file name pattern to search for." | 774 | to search in, and the file name pattern to search for." |
| 775 | (interactive (list (xref--read-identifier "Find regexp: "))) | 775 | (interactive (list (xref--read-identifier "Find regexp: "))) |
| 776 | (require 'grep) | ||
| 776 | (let* ((proj (project-current)) | 777 | (let* ((proj (project-current)) |
| 777 | (files (if current-prefix-arg | 778 | (files (if current-prefix-arg |
| 778 | (grep-read-files regexp) | 779 | (grep-read-files regexp) |