emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106631: * lisp/pcmpl-gnu.el (pcomple


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106631: * lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
Date: Tue, 06 Dec 2011 17:14:32 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106631
fixes bug(s): http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10116
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2011-12-06 17:14:32 -0500
message:
  * lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
modified:
  lisp/ChangeLog
  lisp/pcmpl-gnu.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-12-06 08:31:42 +0000
+++ b/lisp/ChangeLog    2011-12-06 22:14:32 +0000
@@ -1,3 +1,8 @@
+2011-12-06  Stefan Monnier  <address@hidden>
+
+       * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
+       (bug#10116).
+
 2011-12-06  Glenn Morris  <address@hidden>
 
        * emacs-lisp/package.el (package-archives): Doc fix re riskiness.

=== modified file 'lisp/pcmpl-gnu.el'
--- a/lisp/pcmpl-gnu.el 2011-12-02 14:44:19 +0000
+++ b/lisp/pcmpl-gnu.el 2011-12-06 22:14:32 +0000
@@ -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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]