]> git.eshelyaron.com Git - emacs.git/commitdiff
Default completion-flex-nospace to nil
authorJoão Távora <joaotavora@gmail.com>
Wed, 15 Apr 2020 17:41:53 +0000 (18:41 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 15 Apr 2020 17:43:09 +0000 (18:43 +0100)
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.

lisp/icomplete.el
lisp/minibuffer.el

index 66bc731f67f5de5c2c3f4caaaef6342dd4060b31..ac14a850d4d036a96ae6b337d499f129ac383e00 100644 (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
index 7f5b597542a7169d12caa04c154bd6487778b7da..b81f778eb4f1369281830ad08900103ff19514c2 100644 (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)