mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(vc-cvs-revision-completion-table): Make it work when the
arg is a list of files.
This commit is contained in:
parent
a44d450b8c
commit
32c58c4725
@ -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.
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user