Mercurial > emacs
comparison lisp/progmodes/grep.el @ 76966:e1190fd4a1f2
(grep-program): Remove commentary about zgrep.
Due to lack of papers from Kevin Rodgers.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 06 Apr 2007 16:23:26 +0000 |
parents | dac34bd10d88 |
children | 25b4502cd0b4 |
comparison
equal
deleted
inserted
replaced
76965:e73a17e3005f | 76966:e1190fd4a1f2 |
---|---|
313 (replace-match "" t t nil 1)))) | 313 (replace-match "" t t nil 1)))) |
314 "Additional things to highlight in grep output. | 314 "Additional things to highlight in grep output. |
315 This gets tacked on the end of the generated expressions.") | 315 This gets tacked on the end of the generated expressions.") |
316 | 316 |
317 ;;;###autoload | 317 ;;;###autoload |
318 (defvar grep-program | 318 (defvar grep-program "grep" |
319 ;; Currently zgrep has trouble. It runs egrep instead of grep, | |
320 ;; and it doesn't pass along long options right. | |
321 "grep" | |
322 ;; (if (equal (condition-case nil ; in case "zgrep" isn't in exec-path | |
323 ;; (call-process "zgrep" nil nil nil | |
324 ;; "foo" null-device) | |
325 ;; (error nil)) | |
326 ;; 1) | |
327 ;; "zgrep" | |
328 ;; "grep") | |
329 "The default grep program for `grep-command' and `grep-find-command'. | 319 "The default grep program for `grep-command' and `grep-find-command'. |
330 This variable's value takes effect when `grep-compute-defaults' is called.") | 320 This variable's value takes effect when `grep-compute-defaults' is called.") |
331 | 321 |
332 ;;;###autoload | 322 ;;;###autoload |
333 (defvar find-program "find" | 323 (defvar find-program "find" |