Commit 56b14058 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.

parent 3170b794
2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
* pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
pcomplete-entries.
* comint.el (comint-read-input-ring, comint-write-input-ring)
(comint-substitute-in-file-name)
(comint-dynamic-complete-as-filename)
......
......@@ -102,12 +102,7 @@
(defun pcmpl-gnu-makefile-names ()
"Return a list of possible makefile names."
(let ((names (list t))
(reg pcmpl-gnu-makefile-regexps))
(while reg
(nconc names (pcomplete-entries (car reg)))
(setq reg (cdr reg)))
(cdr names)))
(pcomplete-entries (mapconcat 'identity pcmpl-gnu-makefile-regexps "\\|")))
(defun pcmpl-gnu-make-rule-names ()
"Return a list of possible make rule names in MAKEFILE."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment