projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48a116
)
; xref-find-regexp: (require 'grep), for grep-read-files
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 22 Jul 2015 20:08:50 +0000
(23:08 +0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 22 Jul 2015 20:08:50 +0000
(23:08 +0300)
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index 5f681b0f2ce2b1d2cb4cdb8666fc1fbb02c402eb..9d0dd77743f0c62004ca21f42a368193e1389a3b 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-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)