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:
parent
b64e46503f
commit
52a7f9bd2a
@ -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): "
|
||||
|
Loading…
x
Reference in New Issue
Block a user