Ensure that emacs uses GNU find. See components/emacs/README. --- emacs-30.1/lisp/loaddefs.el.orig +++ emacs-30.1/lisp/loaddefs.el @@ -15129,7 +15129,7 @@ (defvar grep-program (purecopy "grep") "\ The default grep program for `grep-command' and `grep-find-command'. This variable's value takes effect when `grep-compute-defaults' is called.") -(defvar find-program (purecopy "find") "\ +(defvar find-program (purecopy "/usr/gnu/bin/find") "\ The default find program. This is used by commands like `grep-find-command', `find-dired' and others.") --- emacs-30.1/lisp/ldefs-boot.el.orig +++ emacs-30.1/lisp/ldefs-boot.el @@ -15129,7 +15129,7 @@ (defvar grep-program (purecopy "grep") "\ The default grep program for `grep-command' and `grep-find-command'. This variable's value takes effect when `grep-compute-defaults' is called.") -(defvar find-program (purecopy "find") "\ +(defvar find-program (purecopy "/usr/gnu/bin/find") "\ The default find program. This is used by commands like `grep-find-command', `find-dired' and others.") --- emacs-30.1/lisp/progmodes/grep.el.orig +++ emacs-30.1/lisp/progmodes/grep.el @@ -548,7 +548,7 @@ This variable's value takes effect when `grep-compute-defaults' is called.") ;;;###autoload -(defvar find-program (purecopy "find") +(defvar find-program (purecopy "/usr/gnu/bin/find") "The default find program. This is used by commands like `grep-find-command', `find-dired' and others.")