aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 7a0102cd71d..f84b721db73 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -679,7 +679,7 @@ If nil, uses `change-log-default-name'."
679 (if (> arg 0) -1 679 (if (> arg 0) -1
680 (if (< arg 0) 1 0)))) 680 (if (< arg 0) 1 0))))
681 (setq vc-comment-ring-index 681 (setq vc-comment-ring-index
682 (ring-mod (+ vc-comment-ring-index arg) len)) 682 (mod (+ vc-comment-ring-index arg) len))
683 (message "%d" (1+ vc-comment-ring-index)) 683 (message "%d" (1+ vc-comment-ring-index))
684 (insert (ring-ref vc-comment-ring vc-comment-ring-index)))))) 684 (insert (ring-ref vc-comment-ring vc-comment-ring-index))))))
685 685