diff lisp/progmodes/grep.el @ 59605:b64dd2ff73f7

(grep-find): Copy from `grep' the condition for calling grep-compute-defaults.
author Richard M. Stallman <rms@gnu.org>
date Mon, 17 Jan 2005 23:51:34 +0000
parents 067d5dcfe531
children 3761d1e2619d
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Mon Jan 17 23:50:23 2005 +0000
+++ b/lisp/progmodes/grep.el	Mon Jan 17 23:51:34 2005 +0000
@@ -527,7 +527,8 @@
 easily repeat a find command."
   (interactive
    (progn
-     (unless grep-find-command
+     (unless (and grep-command
+		  (or (not grep-use-null-device) (eq grep-use-null-device t)))
        (grep-compute-defaults))
      (if grep-find-command
 	 (list (read-from-minibuffer "Run find (like this): "