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

Insert into the minibuffer the Nth previous element of minibuffer history.

Interactively, N is the prefix numeric argument and defaults to 1.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun previous-history-element (n)
  "Insert into the minibuffer the Nth previous element of minibuffer history.
Interactively, N is the prefix numeric argument and defaults to 1."
  (interactive "p")
  (or (zerop n)
      (goto-history-element (+ minibuffer-history-position n))))