ring-previous

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

(ring-previous RING ITEM)

Return the previous item in the RING, before ITEM.
Raise error if ITEM is not in the RING.