From ec321d7767df6aecea875173f43f7af8c34e8bbb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 6 Apr 2001 14:44:27 +0000 Subject: [PATCH] (grep-compute-defaults): Use null-device instead of literal /dev/null. Reported by Jens Schmidt . --- lisp/ChangeLog | 4 ++++ lisp/progmodes/compile.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4bb2171c17c..4a3c3204d7c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2001-04-06 Eli Zaretskii + * progmodes/compile.el (grep-compute-defaults): Use null-device + instead of literal /dev/null. Reported by Jens Schmidt + . + * simple.el (normal-erase-is-backspace-mode): Doc fix. 2001-04-06 Dave Love 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 -- 2.39.2