ring-remove

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

(ring-remove RING &optional INDEX)

Remove an item from the RING. Return the removed item.
If optional INDEX is nil, remove the oldest item. If it's
numeric, remove the element indexed.