# HG changeset patch # User Stefan Monnier # Date 1192842790 0 # Node ID abd6fdb45765cb7ae66be173e6aaa16b5833269f # Parent d36b2b98840f4790adc0f25a4181b2bafd21996c (vc-mtn-revision-completion-table):Make it work when the arg is a list of files. diff -r d36b2b98840f -r abd6fdb45765 lisp/ChangeLog --- a/lisp/ChangeLog Sat Oct 20 01:11:18 2007 +0000 +++ b/lisp/ChangeLog Sat Oct 20 01:13:10 2007 +0000 @@ -1,10 +1,11 @@ 2007-10-20 Stefan Monnier + * vc-mtn.el (vc-mtn-revision-completion-table): + * vc-cvs.el (vc-cvs-revision-completion-table): + * vc-arch.el (vc-arch-revision-completion-table): * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table): * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table): - * 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. + Make it work when the arg is a list of files. 2007-10-19 Stefan Monnier diff -r d36b2b98840f -r abd6fdb45765 lisp/vc-mtn.el --- a/lisp/vc-mtn.el Sat Oct 20 01:11:18 2007 +0000 +++ b/lisp/vc-mtn.el Sat Oct 20 01:13:10 2007 +0000 @@ -239,10 +239,11 @@ (push (match-string 0) ids)) ids))) -(defun vc-mtn-revision-completion-table (file) +(defun vc-mtn-revision-completion-table (files) ;; TODO: Implement completion for for selectors ;; TODO: Implement completion for composite selectors. - (lexical-let ((file file)) + (lexical-let ((files files)) + ;; What about using `files'?!? --Stef (lambda (string pred action) (cond ;; "Tag" selectors.