Function: next-completion

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

Signature

(next-completion &optional N)

Documentation

Move according to completions-format to next 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 next-completion (&optional n)
  "Move according to `completions-format' to next 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 (next-line-completion n))
    (_ (next-column-completion n))))