mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-08 20:58:58 +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."
|
easily repeat a find command."
|
||||||
(interactive
|
(interactive
|
||||||
(progn
|
(progn
|
||||||
(unless grep-find-command
|
(unless (and grep-command
|
||||||
|
(or (not grep-use-null-device) (eq grep-use-null-device t)))
|
||||||
(grep-compute-defaults))
|
(grep-compute-defaults))
|
||||||
(if grep-find-command
|
(if grep-find-command
|
||||||
(list (read-from-minibuffer "Run find (like this): "
|
(list (read-from-minibuffer "Run find (like this): "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user