]> git.eshelyaron.com Git - emacs.git/commitdiff
pcomplete/find: Support new GNU find expressions
authorStefan Kangas <stefankangas@gmail.com>
Tue, 5 Nov 2024 03:19:22 +0000 (04:19 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 13:31:27 +0000 (14:31 +0100)
* lisp/pcmpl-gnu.el (pcomplete/find): Add expressions from new GNU find:
"-newerxy" (4.3.3) and "-files0-from" (4.9.0).  This list is now
complete as of GNU findutils 4.10.0, released on 2024-06-01.

(cherry picked from commit a0f8fb806ff5ce192671d90636aa14a12aa47b8a)

lisp/pcmpl-gnu.el

index 237e3d62526e94b057e9af9c957ce2ce3831e59a..efba0cc2d34956c3986e57fb18622aab331f9e36 100644 (file)
@@ -354,13 +354,13 @@ Return the new list."
            (while (pcomplete-here
                    '("-amin" "-anewer" "-atime" "-cmin" "-cnewer" "-context"
                      "-ctime" "-daystart" "-delete" "-depth" "-empty" "-exec"
-                     "-execdir" "-executable" "-false" "-fls" "-follow"
+                     "-execdir" "-executable" "-false" "-files0-from" "-fls" "-follow"
                      "-fprint" "-fprint0" "-fprintf" "-fstype" "-gid" "-group"
                      "-help" "-ignore_readdir_race" "-ilname" "-iname"
                      "-inum" "-ipath" "-iregex" "-iwholename"
                      "-links" "-lname" "-ls" "-maxdepth"
                      "-mindepth" "-mmin" "-mount" "-mtime"
-                     "-name" "-newer" "-nogroup" "-noignore_readdir_race"
+                     "-name" "-newer" "-newerxy" "-nogroup" "-noignore_readdir_race"
                      "-noleaf" "-nouser" "-nowarn" "-ok"
                      "-okdir" "-path" "-perm" "-print"
                      "-print0" "-printf" "-prune" "-quit"