summaryrefslogtreecommitdiff
path: root/lisp/pcmpl-gnu.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-12-06 17:14:32 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2011-12-06 17:14:32 -0500
commit86ed9fdc5749160a283e8c37cd6d60b692f63b79 (patch)
treec74317ae19ab258e26bdf87107593fc4aac8b577 /lisp/pcmpl-gnu.el
parentf6fc4d8702a7f87b5a663690c734c1b4ff42715d (diff)
downloademacs-86ed9fdc5749160a283e8c37cd6d60b692f63b79.tar.gz
* lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
Fixes: debbugs:10116
Diffstat (limited to 'lisp/pcmpl-gnu.el')
-rw-r--r--lisp/pcmpl-gnu.el5
1 files changed, 4 insertions, 1 deletions
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."