# HG changeset patch # User Richard M. Stallman # Date 1106005894 0 # Node ID b64dd2ff73f7616852375968924aa9134b3c3d60 # Parent 15fecef37804d7560e4b4248e8287b42466c634a (grep-find): Copy from `grep' the condition for calling grep-compute-defaults. diff -r 15fecef37804 -r b64dd2ff73f7 lisp/progmodes/grep.el --- 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): "