emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master eea55f4 3/4: Update pcomplete/find


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master eea55f4 3/4: Update pcomplete/find
Date: Fri, 26 Feb 2016 05:37:51 +0000

branch: master
commit eea55f4f4af311bbd4b197564d1cecbc949616bf
Author: Thierry Volpiatto <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Update pcomplete/find
    
    * lisp/pcmpl-gnu.el (pcomplete/find): Update to newest version
    (bug#10487).
---
 lisp/pcmpl-gnu.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el
index 84e42ae..e4e8f3a 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]