From 06abe7bc18852e71baa16563334a3f6ea5b8ca07 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 15 Jun 2008 10:29:13 +0000 Subject: [PATCH] (vc-cvs-status-extra-headers): Don't match newline when parsing CVS/Repository. --- lisp/ChangeLog | 3 +++ lisp/vc-cvs.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 158523bc7ac..dde77ec7155 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-06-15 Andreas Schwab + * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline + when parsing CVS/Repository. + * wdired.el (wdired-search-and-rename): Fix undocumented change. 2008-06-15 Ulf Jasper diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 6c3d4fe5c18..edaf7f08d7c 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el @@ -942,7 +942,7 @@ state." (with-temp-buffer (insert-file-contents "CVS/Repository") (goto-char (point-min)) - (re-search-forward "[^/]*" nil t) + (re-search-forward "[^/\n]*" nil t) (concat (match-string 0) "\n")) (file-error nil)))) (concat -- 2.39.2