diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el index a54cd7319f4..8e2ae86b471 100644 --- a/lisp/vc-bzr.el +++ b/lisp/vc-bzr.el @@ -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