changeset 18273:41496911055d

(grep-program): Comment out the use of zgrep.
author Richard M. Stallman <rms@gnu.org>
date Mon, 16 Jun 1997 23:20:46 +0000
parents aea95178357e
children 1614755e9b28
files lisp/progmodes/compile.el
diffstat 1 files changed, 10 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Mon Jun 16 23:13:12 1997 +0000
+++ b/lisp/progmodes/compile.el	Mon Jun 16 23:20:46 1997 +0000
@@ -341,16 +341,17 @@
 ;; The system null device. (Should reference NULL_DEVICE from C.)
 (defvar grep-null-device "/dev/null" "The system null device.")
 
-;; Use zgrep if available, to work nicely with compressed files.
-;; Otherwise, use ordinary grep.
 (defvar grep-program
-  (if (equal (condition-case nil	; in case "zgrep" isn't in exec-path
-		 (call-process "zgrep" nil nil nil
-			       "foo" grep-null-device)
-	       (error nil))
-	     1)
-      "zgrep"
-    "grep")
+  ;; Currently zgrep has trouble.  It runs egrep instead of grep,
+  ;; and it doesn't pass along long options right.
+  "grep"
+;;;  (if (equal (condition-case nil	; in case "zgrep" isn't in exec-path
+;;;		 (call-process "zgrep" nil nil nil
+;;;			       "foo" grep-null-device)
+;;;	       (error nil))
+;;;	     1)
+;;;      "zgrep"
+;;;    "grep")
   "The default grep program for `grep-command' and `grep-find-command'.")
 
 ;; Use -e if grep supports it,