aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-05-18 14:39:09 +0000
committerKim F. Storm2006-05-18 14:39:09 +0000
commita34f7eb16500950ad2d328c7718268f4e54f4966 (patch)
treee12f4b4597d634e042ab6d6dd68c3dc7ea10c67f
parenta0fa505b419ef7256d7c6f499e7cd09b5383751b (diff)
downloademacs-a34f7eb16500950ad2d328c7718268f4e54f4966.tar.gz
emacs-a34f7eb16500950ad2d328c7718268f4e54f4966.zip
(grep-find): Don't check grep-find-command
before running command (breaks non-interactive usage).
-rw-r--r--lisp/progmodes/grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 410a973d1b4..d207094cafe 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -553,7 +553,7 @@ easily repeat a find command."
553 (read-string 553 (read-string
554 "compile.el: No `grep-find-command' command available. Press RET.") 554 "compile.el: No `grep-find-command' command available. Press RET.")
555 (list nil)))) 555 (list nil))))
556 (when (and grep-find-command command-args) 556 (when command-args
557 (let ((null-device nil)) ; see grep 557 (let ((null-device nil)) ; see grep
558 (grep command-args)))) 558 (grep command-args))))
559 559