Function: previous-completion

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

Signature

(previous-completion &optional N)

Documentation

Move according to completions-format to previous completion item.

In horizontal format movement is between columns within the same line, in vertical format between lines within the same column. With non-nil completion-auto-wrap, movement continues to the next line or column, respectively.

View in manual

Probably introduced at or before Emacs version 19.29.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun previous-completion (&optional n)
  "Move according to `completions-format' to previous completion item.
In horizontal format movement is between columns within the same line,
in vertical format between lines within the same column.  With non-nil
`completion-auto-wrap', movement continues to the next line or column,
respectively."
  (interactive "p")
  (pcase completions-format
    ('vertical (previous-line-completion n))
    (_ (previous-column-completion n))))