From 550e7c55c79341c168dd8f1f6b2ab9e062f65cd8 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 5 Nov 2024 04:19:22 +0100 Subject: [PATCH] pcomplete/find: Support new GNU find expressions * 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el index 237e3d62526..efba0cc2d34 100644 --- a/lisp/pcmpl-gnu.el +++ b/lisp/pcmpl-gnu.el @@ -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" -- 2.39.2