Previously, Adrian mentioned the problem with ring-insert and pcl-cvs
v2_9_9 where pcl-cvs was calling (ring-insert vc-comment-ring
<string>) but vc-comment-ring was nil.
I didn't see any patch or comments in the mail archives so here is my
patch. Without it, I can't commit anything with pcl-cvs. It's a bug
in vc-cc/vc.el for not initializing vc-comment-ring to a ring.
Ray
Changelog entry:
2000-06-07 Raymond Toy <toy(a)rtp.ericsson.se>
* vc.el (vc-comment-ring): Initialize vc-comment-ring to a ring
instead NIL.
Patch for vc-cc/vc.el:
--- vc.el~ Wed Aug 12 06:26:21 1998
+++ vc.el Wed Jun 7 09:28:58 2000
@@ -218,7 +218,7 @@
(defconst vc-name-assoc-file "VC-names")
-(defvar vc-comment-ring nil)
+(defvar vc-comment-ring (make-ring vc-maximum-comment-ring-size))
(defvar vc-comment-ring-index nil)
(defvar vc-last-comment-match nil)
(defvar vc-window-config nil)