Function: previous-history-element

previous-history-element is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(previous-history-element N)

Documentation

Puts previous element of the minibuffer history in the minibuffer.

With argument N, it uses the Nth previous element.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun previous-history-element (n)
  "Puts previous element of the minibuffer history in the minibuffer.
With argument N, it uses the Nth previous element."
  (interactive "p")
  (or (zerop n)
      (goto-history-element (+ minibuffer-history-position n))))