]> git.eshelyaron.com Git - emacs.git/commitdiff
(grep-compute-defaults): Use null-device
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Apr 2001 14:44:27 +0000 (14:44 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Apr 2001 14:44:27 +0000 (14:44 +0000)
instead of literal /dev/null. Reported by Jens Schmidt
<schmidt@mathematik.uni-kl.de>.

lisp/ChangeLog
lisp/progmodes/compile.el

index 4bb2171c17c23b0e626bbb77f7c0950e8c4681af..4a3c3204d7c451e1709f2cfd2e8b16bfab7d9f97 100644 (file)
@@ -1,5 +1,9 @@
 2001-04-06  Eli Zaretskii  <eliz@is.elta.co.il>
 
+       * progmodes/compile.el (grep-compute-defaults): Use null-device
+       instead of literal /dev/null. Reported by Jens Schmidt
+       <schmidt@mathematik.uni-kl.de>.
+
        * simple.el (normal-erase-is-backspace-mode): Doc fix.
 
 2001-04-06  Dave Love  <fx@gnu.org>
index 7bb976d1656f81d563492d091440f506f3cb78de..71978477ee38c8c055924ebcfac6636bd4630d69 100644 (file)
@@ -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