(grep-program): New variable.
commit201bf3329c1699f641b8ee9218ab9e0c3660494b
authorRichard M. Stallman <rms@gnu.org>
Mon, 24 Mar 1997 23:59:44 +0000 (24 23:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 24 Mar 1997 23:59:44 +0000 (24 23:59 +0000)
tree38debda7f8d4c2f930fdc7b44e48f0306779bdcb
parentdebdd3caeaeb5c14cdfd5c3039aae773d4757c84
(grep-program): New variable.
(grep-command): Use it, and test whether it supports the -e
option; fix doc string (last command is stored in history variable).
(grep-null-device): Declare before grep-program and grep-command.
(grep-find-use-xargs, grep-find-command, grep-find-history):
New variables.
(grep-find): New command.
(grep): Only concatenate grep-null-device to COMMAND when it's
not nil (to support grep-find).
lisp/progmodes/compile.el