]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-previous-comment): Use `mod', not `ring-mod'.
authorPaul Eggert <eggert@twinsun.com>
Tue, 10 Aug 1993 04:14:17 +0000 (04:14 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 10 Aug 1993 04:14:17 +0000 (04:14 +0000)
lisp/vc.el

index 7a0102cd71d3f13a661050bf5110aeea2c5fdf9d..f84b721db734c28640bc2ce3bc4dee94e5c5c234 100644 (file)
@@ -679,7 +679,7 @@ If nil, uses `change-log-default-name'."
                     (if (> arg 0) -1
                         (if (< arg 0) 1 0))))
           (setq vc-comment-ring-index
-                (ring-mod (+ vc-comment-ring-index arg) len))
+                (mod (+ vc-comment-ring-index arg) len))
           (message "%d" (1+ vc-comment-ring-index))
           (insert (ring-ref vc-comment-ring vc-comment-ring-index))))))