]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a void-function error
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 30 May 2019 17:29:29 +0000 (20:29 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 30 May 2019 17:29:29 +0000 (20:29 +0300)
* lisp/dired-aux.el (dired-do-find-regexp):
Require 'xref' (bug#35352).

lisp/dired-aux.el

index 51749acb217ab54f544386447b2423e8ffd43c94..41fcd062fb832d98b819b2e413e1604d697808ba 100644 (file)
@@ -2899,6 +2899,7 @@ directories.
 REGEXP should use constructs supported by your local `grep' command."
   (interactive "sSearch marked files (regexp): ")
   (require 'grep)
+  (require 'xref)
   (defvar grep-find-ignored-files)
   (declare-function rgrep-find-ignored-directories "grep" (dir))
   (let* ((files (dired-get-marked-files nil nil nil nil t))