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:
parent
fb5f616ae8
commit
660b9b8cfb
2 changed files with 2 additions and 1 deletions
|
@ -329,6 +329,7 @@ if that doesn't produce a completion match."
|
||||||
icomplete-show-matches-on-no-input t
|
icomplete-show-matches-on-no-input t
|
||||||
icomplete-hide-common-prefix nil
|
icomplete-hide-common-prefix nil
|
||||||
completion-styles '(flex)
|
completion-styles '(flex)
|
||||||
|
completion-flex-nospace nil
|
||||||
completion-category-defaults nil)))
|
completion-category-defaults nil)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
@ -3607,7 +3607,7 @@ that is non-nil."
|
||||||
;;; "flex" completion, also known as flx/fuzzy/scatter completion
|
;;; "flex" completion, also known as flx/fuzzy/scatter completion
|
||||||
;; Completes "foo" to "frodo" and "farfromsober"
|
;; 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."
|
"Non-nil if `flex' completion rejects spaces in search pattern."
|
||||||
:version "27.1"
|
:version "27.1"
|
||||||
:type 'boolean)
|
:type 'boolean)
|
||||||
|
|
Loading…
Add table
Reference in a new issue