Variable: completion-pcm-leading-wildcard
completion-pcm-leading-wildcard is a customizable variable defined in
minibuffer.el.gz.
Value
nil
Documentation
If non-nil, partial-completion behaves as if each word is preceded by wildcard.
If nil (the default), partial-completion requires each word in a
matching completion alternative to have the same beginning as each
"word" in the minibuffer text, where "word" is determined by
completion-pcm-word-delimiters.
If non-nil, partial-completion allows any string of characters to occur at the beginning of each word in a completion alternative, as if a wildcard such as "*" was present at the beginning of each word. This makes partial-completion behave more like the substring completion style.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defcustom completion-pcm-leading-wildcard nil
"If non-nil, partial-completion behaves as if each word is preceded by wildcard.
If nil (the default), partial-completion requires each word in a
matching completion alternative to have the same beginning as each
\"word\" in the minibuffer text, where \"word\" is determined by
`completion-pcm-word-delimiters'.
If non-nil, partial-completion allows any string of characters to occur
at the beginning of each word in a completion alternative, as if a
wildcard such as \"*\" was present at the beginning of each word. This
makes partial-completion behave more like the substring completion
style."
:version "31.1"
:type 'boolean)