summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-02-04 02:22:34 +0100
committerStefan Kangas <stefankangas@gmail.com>2020-02-04 02:26:35 +0100
commitb641c178ce3d022a9fca1d44ecb60f3878a989bd (patch)
treef853e12bf6da30e8d9e484b4c292fbaf970fd374
parent330228d5c71981d3e2d39387d5222c3670c467c6 (diff)
downloademacs-b641c178ce3d022a9fca1d44ecb60f3878a989bd.tar.gz
Silence byte-compiler warning
* lisp/dired.el (grep-read-files-function): Add defvar to silence byte-compiler warning.
-rw-r--r--lisp/dired.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 0e0b25eac8c..a4de51f6091 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2150,6 +2150,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
;; Dired mode is suitable only for specially formatted data.
(put 'dired-mode 'mode-class 'special)
+(defvar grep-read-files-function)
;; Autoload cookie needed by desktop.el
;;;###autoload
(defun dired-mode (&optional dirname switches)