The function vc-find-cvs-master assumes that file-attributes does not
change the match data, but rcp-handle-file-attributes does a
re-search-forward.

I have now tried to put `save-match-data' in some places in rcp.el, in
particular in rcp-handle-file-attributes, but that didn't seem to
produce the desired effect.

Can anyone see anything obvious?

The function vc-find-cvs-master contains a comment `normal entry'
where it does a re-search-forward.  A little later it calls
file-attributes (in let).  I stepped through the function and
(match-data) returned different things before calling file-attributes
and after calling file-attributes, despite the save-match-data call in
rcp-handle-file-attributes.

(The new version is available from CVS.)

kai
-- 
~/.signature: No such file or directory

Reply via email to