From 86ed9fdc5749160a283e8c37cd6d60b692f63b79 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 6 Dec 2011 17:14:32 -0500 Subject: [PATCH] * lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments. Fixes: debbugs:10116 --- lisp/ChangeLog | 5 +++++ lisp/pcmpl-gnu.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 894a66b2cab..443ca2d5c34 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-12-06 Stefan Monnier + + * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments + (bug#10116). + 2011-12-06 Glenn Morris * emacs-lisp/package.el (package-archives): Doc fix re riskiness. diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el index 608a9dc2e88..72332b723db 100644 --- a/lisp/pcmpl-gnu.el +++ b/lisp/pcmpl-gnu.el @@ -99,7 +99,10 @@ "Completion for GNU `make'." (let ((pcomplete-help "(make)Top")) (pcomplete-opt "bmC/def(pcmpl-gnu-makefile-names)hiI/j?kl?no.pqrsStvwW.") - (while (pcomplete-here (pcmpl-gnu-make-rule-names) nil 'identity)))) + (while (pcomplete-here (completion-table-in-turn + (pcmpl-gnu-make-rule-names) + (pcomplete-entries)) + nil 'identity)))) (defun pcmpl-gnu-makefile-names () "Return a list of possible makefile names." -- 2.39.2