mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.
This commit is contained in:
parent
3170b79459
commit
56b14058a4
2 changed files with 4 additions and 6 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue