Default completion-flex-nospace to nil

By default, the flex completion style _does_ match spaces.

Fixes: bug#40625

* lisp/icomplete.el (icomplete--fido-mode-setup): Force
completion-flex-nospace to nil.

* lisp/minibuffer.el (completion-flex-nospace): Default to nil.
This commit is contained in:
João Távora 2020-04-15 18:41:53 +01:00
parent fb5f616ae8
commit 660b9b8cfb
2 changed files with 2 additions and 1 deletions

View file

@ -329,6 +329,7 @@ if that doesn't produce a completion match."
icomplete-show-matches-on-no-input t
icomplete-hide-common-prefix nil
completion-styles '(flex)
completion-flex-nospace nil
completion-category-defaults nil)))
;;;###autoload

View file

@ -3607,7 +3607,7 @@ that is non-nil."
;;; "flex" completion, also known as flx/fuzzy/scatter completion
;; Completes "foo" to "frodo" and "farfromsober"
(defcustom completion-flex-nospace t
(defcustom completion-flex-nospace nil
"Non-nil if `flex' completion rejects spaces in search pattern."
:version "27.1"
:type 'boolean)