From eea55f4f4af311bbd4b197564d1cecbc949616bf Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 26 Feb 2016 16:01:46 +1030 Subject: [PATCH] Update pcomplete/find * lisp/pcmpl-gnu.el (pcomplete/find): Update to newest version (bug#10487). --- lisp/pcmpl-gnu.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el index 84e42aefbf9..e4e8f3a2c53 100644 --- a/lisp/pcmpl-gnu.el +++ b/lisp/pcmpl-gnu.el @@ -329,8 +329,9 @@ nil 'identity)))) ;;;###autoload + (defun pcomplete/find () - "Completion for GNU find utility." + "Completion for the GNU find utility." (let ((prec (pcomplete-arg 'last -1))) (cond ((and (pcomplete-match "^-" 'last) (string= "find" prec)) @@ -361,7 +362,7 @@ (string= prec "-execdir")) (while (pcomplete-here* (funcall pcomplete-command-completion-function) (pcomplete-arg 'last) t)))) - (while (pcomplete-here (pcomplete-entries) nil 'identity)))) + (while (pcomplete-here (pcomplete-dirs) nil 'identity)))) ;;;###autoload (defalias 'pcomplete/gdb 'pcomplete/xargs) -- 2.39.5