Variable: minibuffer-visible-completions

minibuffer-visible-completions is a customizable variable defined in minibuffer.el.gz.

Value

nil

Documentation

Whether to enable navigation of candidates in *Completions* from minibuffer.

When non-nil, if the *Completions* buffer is displayed in a window, you can use the arrow keys in the minibuffer to move point in the window showing the *Completions* buffer. Typing RET selects the highlighted completion candidate. If the *Completions* buffer is not displayed on the screen, or this variable is nil, the arrow keys move point in the minibuffer as usual, and RET accepts the input typed into the minibuffer. If the value is t, both up/down and right/left arrow keys move point in *Completions*; if the value is \+up-down, only up/down arrow keys move point in *Completions*, while left/right arrows move point in the minibuffer window.

This variable was added, or its default value changed, in Emacs 30.1.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defcustom minibuffer-visible-completions nil
  "Whether to enable navigation of candidates in *Completions* from minibuffer.
When non-nil, if the *Completions* buffer is displayed in a window,
you can use the arrow keys in the minibuffer to move point in
the window showing the *Completions* buffer.  Typing `RET' selects
the highlighted completion candidate.
If the *Completions* buffer is not displayed on the screen, or this
variable is nil, the arrow keys move point in the minibuffer as usual,
and `RET' accepts the input typed into the minibuffer.
If the value is t, both up/down and right/left arrow keys move point
in *Completions*; if the value is \\+`up-down', only up/down arrow
keys move point in *Completions*, while left/right arrows move point
in the minibuffer window."
  :type '(choice (const :tag
                        "Disable completions navigation with arrow keys" nil)
                 (const :tag
                        "Enable completions navigation with arrow keys" t)
                 (const :tag
                        "Enable completions navigation with up/down arrows"
                        up-down))
  :version "30.1")