Variable: orderless-expand-substring
orderless-expand-substring is a customizable variable defined in
orderless.el.
Value
prefix
Documentation
Whether to perform literal substring expansion.
This configuration option affects the behavior of some completion
interfaces when pressing TAB. If enabled orderless-try-completion
will first attempt literal substring expansion. If disabled,
expansion is only performed for single unique matches. For
performance reasons only prefix expansion is enabled by default.
Set the variable to substring for full substring expansion.
Source Code
;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defcustom orderless-expand-substring 'prefix
"Whether to perform literal substring expansion.
This configuration option affects the behavior of some completion
interfaces when pressing TAB. If enabled `orderless-try-completion'
will first attempt literal substring expansion. If disabled,
expansion is only performed for single unique matches. For
performance reasons only `prefix' expansion is enabled by default.
Set the variable to `substring' for full substring expansion."
:type '(choice (const :tag "No expansion" nil)
(const :tag "Substring" substring)
(const :tag "Prefix (efficient)" prefix)))