Variable: completion-preview-exact-match-only
completion-preview-exact-match-only is a customizable variable defined
in completion-preview.el.gz.
Value
nil
Documentation
Whether to show completion preview only when there is an exact match.
If this option is non-nil, Completion Preview mode only shows the
preview when there is exactly one completion candidate that
matches the symbol at point. Otherwise, if this option is nil,
when there are multiple matching candidates the preview shows the
first candidate, and you can cycle between the candidates with
M-x completion-preview-next-candidate (completion-preview-next-candidate) and
M-x completion-preview-prev-candidate (completion-preview-prev-candidate).
This variable was added, or its default value changed, in Emacs 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/completion-preview.el.gz
(defcustom completion-preview-exact-match-only nil
"Whether to show completion preview only when there is an exact match.
If this option is non-nil, Completion Preview mode only shows the
preview when there is exactly one completion candidate that
matches the symbol at point. Otherwise, if this option is nil,
when there are multiple matching candidates the preview shows the
first candidate, and you can cycle between the candidates with
\\[completion-preview-next-candidate] and
\\[completion-preview-prev-candidate]."
:type 'boolean
:version "30.1")