1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

(grep-find): Copy from `grep' the condition for calling grep-compute-defaults.

This commit is contained in:
Richard M. Stallman 2005-01-17 23:51:34 +00:00
parent b64e46503f
commit 52a7f9bd2a

View File

@ -527,7 +527,8 @@ This command uses a special history list for its arguments, so you can
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): "