changeset 85458:119299b8a040

(vc-cvs-revision-completion-table): Make it work when the arg is a list of files.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 20 Oct 2007 01:07:52 +0000
parents e58eb1e72d23
children dec6fdd5ddf4
files lisp/ChangeLog lisp/vc-cvs.el
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Oct 20 01:05:50 2007 +0000
+++ b/lisp/ChangeLog	Sat Oct 20 01:07:52 2007 +0000
@@ -1,5 +1,6 @@
 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* vc-cvs.el (vc-cvs-revision-completion-table):
 	* vc-arch.el (vc-arch-revision-completion-table): Make it work when the
 	arg is a list of files.
 
--- a/lisp/vc-cvs.el	Sat Oct 20 01:05:50 2007 +0000
+++ b/lisp/vc-cvs.el	Sat Oct 20 01:07:52 2007 +0000
@@ -962,11 +962,11 @@
         (push (match-string 1) res))
       res)))
 
-(defun vc-cvs-revision-completion-table (file)
-  (lexical-let ((file file)
+(defun vc-cvs-revision-completion-table (files)
+  (lexical-let ((files files)
                 table)
     (setq table (lazy-completion-table
-                 table (lambda () (vc-cvs-revision-table file))))
+                 table (lambda () (vc-cvs-revision-table (car files)))))
     table))