next-complete-history-element
next-complete-history-element is an interactive compiled Lisp function in `simple.el
'.
(next-complete-history-element N)
Get next history element which completes the minibuffer before the point.
The contents of the minibuffer after the point are deleted, and replaced
by the new completion.