# HG changeset patch # User Eli Zaretskii # Date 986568135 0 # Node ID 2f0cd80341f8c8371a770ed607adff441a5159a2 # Parent 61f9346a42a6b7fa0e50c430f34f6797d673584c (grep-compute-defaults): Use null-device instead of literal /dev/null. Reported by Jens Schmidt . diff -r 61f9346a42a6 -r 2f0cd80341f8 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Fri Apr 06 13:36:54 2001 +0000 +++ b/lisp/progmodes/compile.el Fri Apr 06 14:42:15 2001 +0000 @@ -587,8 +587,8 @@ 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