ring-next

ring-next is a compiled Lisp function in `ring.el'.

(ring-next RING ITEM)

Return the next item in the RING, after ITEM.
Raise error if ITEM is not in the RING.