Function: previous-history-element

Puts previous element of the minibuffer history in the minibuffer.
With argument N, it uses the Nth previous element.