summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 7bb976d1656..71978477ee3 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -587,8 +587,8 @@ to a function that generates a unique name."
grep-command))
(grep-find-use-xargs
(format "find . -type f -print | xargs %s" grep-command))
- (t (cons (format "find . -type f -exec %s {} /dev/null \\;"
- grep-command)
+ (t (cons (format "find . -type f -exec %s {} %s \\;"
+ grep-command null-device)
(+ 22 (length grep-command)))))))
;;;###autoload