diff options
| author | Stefan Monnier | 2007-10-20 01:07:52 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-20 01:07:52 +0000 |
| commit | 32c58c4725a8091b8d11366db914686d4e7a59b7 (patch) | |
| tree | 8e36862f5235082e8917b36259093ed299241e6f | |
| parent | a44d450b8ce1e1d39b56e896b665798f826eb3fb (diff) | |
| download | emacs-32c58c4725a8091b8d11366db914686d4e7a59b7.tar.gz emacs-32c58c4725a8091b8d11366db914686d4e7a59b7.zip | |
(vc-cvs-revision-completion-table): Make it work when the
arg is a list of files.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/vc-cvs.el | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b05862f05dc..d028f56cf55 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * vc-cvs.el (vc-cvs-revision-completion-table): | ||
| 3 | * vc-arch.el (vc-arch-revision-completion-table): Make it work when the | 4 | * vc-arch.el (vc-arch-revision-completion-table): Make it work when the |
| 4 | arg is a list of files. | 5 | arg is a list of files. |
| 5 | 6 | ||
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 5ffb4815182..79a4263854d 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el | |||
| @@ -962,11 +962,11 @@ is non-nil." | |||
| 962 | (push (match-string 1) res)) | 962 | (push (match-string 1) res)) |
| 963 | res))) | 963 | res))) |
| 964 | 964 | ||
| 965 | (defun vc-cvs-revision-completion-table (file) | 965 | (defun vc-cvs-revision-completion-table (files) |
| 966 | (lexical-let ((file file) | 966 | (lexical-let ((files files) |
| 967 | table) | 967 | table) |
| 968 | (setq table (lazy-completion-table | 968 | (setq table (lazy-completion-table |
| 969 | table (lambda () (vc-cvs-revision-table file)))) | 969 | table (lambda () (vc-cvs-revision-table (car files))))) |
| 970 | table)) | 970 | table)) |
| 971 | 971 | ||
| 972 | 972 | ||