]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-bzr-revision-completion-table): Choose the right `:'.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 23 May 2008 03:01:10 +0000 (03:01 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 23 May 2008 03:01:10 +0000 (03:01 +0000)
lisp/vc-bzr.el

index a54cd7319f4d1cde07d2c381214d0289d207ff56..8e2ae86b4710024a6f1331b5b8c73e199a37b098 100644 (file)
@@ -662,7 +662,7 @@ stream.  Standard error output is discarded."
         )
        ((eq (car-safe action) 'boundaries)
         (list* 'boundaries
-               (if (string-match ":" string) (1+ (match-beginning 0)))
+               (string-match "[^:]*\\'" string)
                (string-match ":" (cdr action))))
        (t
         ;; Could use completion-table-with-terminator, except that it