summaryrefslogtreecommitdiff
path: root/lisp/vc-cvs.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2010-02-18 14:55:41 -0500
committerSam Steingold <sds@gnu.org>2010-02-18 14:55:41 -0500
commitff6b00de888a44fcb01fb68c870db08509640d52 (patch)
tree3402ea3398c9fb77d7363515ee1b6f9d743217a7 /lisp/vc-cvs.el
parentfe8c0b47d26808347509a3ad86089276b121a692 (diff)
downloademacs-ff6b00de888a44fcb01fb68c870db08509640d52.tar.gz
(vc-cvs-merge-news): Yet another fix of message parsing.
Diffstat (limited to 'lisp/vc-cvs.el')
-rw-r--r--lisp/vc-cvs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index e521f608209..1abef9f48b8 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -459,8 +459,8 @@ The changes are between FIRST-REVISION and SECOND-REVISION."
(if (re-search-forward
(concat "^\\([CMUP] \\)?"
(regexp-quote
- (substring file (length (expand-file-name
- "." default-directory))))
+ (substring file (1+ (length (expand-file-name
+ "." default-directory)))))
"\\( already contains the differences between \\)?")
nil t)
(cond