]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't pcomplete 'find -newerxy' flag
authorStefan Kangas <stefankangas@gmail.com>
Sun, 10 Nov 2024 00:29:18 +0000 (01:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Nov 2024 10:26:24 +0000 (11:26 +0100)
* lisp/pcmpl-gnu.el (pcomplete/find): Remove -newerxy flag.
This flag is not used verbatim like that, and we already complete
the "-newer" flag, which should be all that users need.
Problem reported by Juri Linkov <juri@linkov.net>.

(cherry picked from commit f6a63e4b441424298f1239372ec50b528d343b65)

lisp/pcmpl-gnu.el

index efba0cc2d34956c3986e57fb18622aab331f9e36..2b48255f3f1eedc9c9482e83caca5bd9ff9d4cf9 100644 (file)
@@ -360,7 +360,7 @@ Return the new list."
                      "-inum" "-ipath" "-iregex" "-iwholename"
                      "-links" "-lname" "-ls" "-maxdepth"
                      "-mindepth" "-mmin" "-mount" "-mtime"
-                     "-name" "-newer" "-newerxy" "-nogroup" "-noignore_readdir_race"
+                     "-name" "-newer" "-nogroup" "-noignore_readdir_race"
                      "-noleaf" "-nouser" "-nowarn" "-ok"
                      "-okdir" "-path" "-perm" "-print"
                      "-print0" "-printf" "-prune" "-quit"