Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a0b8421e
Commit
a0b8421e
authored
Jul 22, 2015
by
Dmitry Gutov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
; xref-find-regexp: (require 'grep), for grep-read-files
parent
e48a1167
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/progmodes/xref.el
lisp/progmodes/xref.el
+1
-0
No files found.
lisp/progmodes/xref.el
View file @
a0b8421e
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment