From a0b8421e3b246c73ce3f9c1bfc7cce32bc1fe883 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 22 Jul 2015 23:08:50 +0300 Subject: ; xref-find-regexp: (require 'grep), for grep-read-files --- lisp/progmodes/xref.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/progmodes/xref.el') 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." 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) -- cgit v1.2.1