[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog pcmpl-gnu.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog pcmpl-gnu.el |
Date: |
Thu, 22 Oct 2009 03:25:58 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 09/10/22 03:25:57
Modified files:
lisp : ChangeLog pcmpl-gnu.el
Log message:
(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16472&r2=1.16473
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/pcmpl-gnu.el?cvsroot=emacs&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16472
retrieving revision 1.16473
diff -u -b -r1.16472 -r1.16473
--- ChangeLog 22 Oct 2009 03:24:31 -0000 1.16472
+++ ChangeLog 22 Oct 2009 03:25:54 -0000 1.16473
@@ -1,5 +1,8 @@
2009-10-22 Stefan Monnier <address@hidden>
+ * 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)
Index: pcmpl-gnu.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pcmpl-gnu.el,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- pcmpl-gnu.el 5 Jan 2009 03:19:38 -0000 1.15
+++ pcmpl-gnu.el 22 Oct 2009 03:25:57 -0000 1.16
@@ -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."
- [Emacs-diffs] emacs/lisp ChangeLog pcmpl-gnu.el,
Stefan Monnier <=