]> git.eshelyaron.com Git - emacs.git/commit
Fix 'find-ls-option-default-ls' for BSD/MacOS (bug#62096)
authorManuel Giraud <manuel@ledu-giraud.fr>
Fri, 10 Mar 2023 20:54:00 +0000 (21:54 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Mar 2023 06:29:17 +0000 (08:29 +0200)
commitec6a73e0d3206255fe422cd248d6be959f50aec9
treed8b38868763835d6d99e6274f1b32f31cde00cad
parent891a37ab36a0782a798841c056a2dd86bd31161a
Fix 'find-ls-option-default-ls' for BSD/MacOS (bug#62096)

* lisp/find-dired.el (find-gnu-find-p): New variable to determine
if "find" is a GNU find.
(find-ls-option-default-ls): Use 'find-gnu-find-p' and adapt to a
value that works with the default "find" on *BSD and Darwin/MacOS.
Tested on OpenBSD and MacOS.
lisp/find-dired.el