]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-cvs-revision-completion-table): Make it work when the
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 20 Oct 2007 01:07:52 +0000 (01:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 20 Oct 2007 01:07:52 +0000 (01:07 +0000)
arg is a list of files.

lisp/ChangeLog
lisp/vc-cvs.el

index b05862f05dcb87be03d8c976c3b8d4fb7bbf5400..d028f56cf55935aa5c6480b2f5de1e5203cef73c 100644 (file)
@@ -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.
 
index 5ffb4815182a94cfc8e77bd839e5acea15cccb2c..79a4263854db09156d507b85918650cd19012360 100644 (file)
@@ -962,11 +962,11 @@ is non-nil."
         (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))