diff options
| author | Stefan Monnier | 2007-10-20 01:13:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-20 01:13:10 +0000 |
| commit | 844b90ae5980f87dd25b38e8cc9e46568f3aa727 (patch) | |
| tree | 491b365f369c98f48c4ba6557f2661e179373082 | |
| parent | 87d1a48e20b4121c467548984f5a76457d09cf62 (diff) | |
| download | emacs-844b90ae5980f87dd25b38e8cc9e46568f3aa727.tar.gz emacs-844b90ae5980f87dd25b38e8cc9e46568f3aa727.zip | |
(vc-mtn-revision-completion-table):Make it work when the arg is a list of files.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/vc-mtn.el | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eeec0e278ca..de9e1011e40 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,10 +1,11 @@ | |||
| 1 | 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * vc-mtn.el (vc-mtn-revision-completion-table): | ||
| 4 | * vc-cvs.el (vc-cvs-revision-completion-table): | ||
| 5 | * vc-arch.el (vc-arch-revision-completion-table): | ||
| 3 | * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table): | 6 | * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table): |
| 4 | * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table): | 7 | * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table): |
| 5 | * vc-cvs.el (vc-cvs-revision-completion-table): | 8 | Make it work when the arg is a list of files. |
| 6 | * vc-arch.el (vc-arch-revision-completion-table): Make it work when the | ||
| 7 | arg is a list of files. | ||
| 8 | 9 | ||
| 9 | 2007-10-19 Stefan Monnier <monnier@iro.umontreal.ca> | 10 | 2007-10-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 10 | 11 | ||
diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index 5365b4d9289..0e10738a60d 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el | |||
| @@ -239,10 +239,11 @@ | |||
| 239 | (push (match-string 0) ids)) | 239 | (push (match-string 0) ids)) |
| 240 | ids))) | 240 | ids))) |
| 241 | 241 | ||
| 242 | (defun vc-mtn-revision-completion-table (file) | 242 | (defun vc-mtn-revision-completion-table (files) |
| 243 | ;; TODO: Implement completion for for selectors | 243 | ;; TODO: Implement completion for for selectors |
| 244 | ;; TODO: Implement completion for composite selectors. | 244 | ;; TODO: Implement completion for composite selectors. |
| 245 | (lexical-let ((file file)) | 245 | (lexical-let ((files files)) |
| 246 | ;; What about using `files'?!? --Stef | ||
| 246 | (lambda (string pred action) | 247 | (lambda (string pred action) |
| 247 | (cond | 248 | (cond |
| 248 | ;; "Tag" selectors. | 249 | ;; "Tag" selectors. |