]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't override completion-category-defaults in fido-mode
authorJoão Távora <joaotavora@gmail.com>
Fri, 25 Nov 2022 13:05:40 +0000 (13:05 +0000)
committerJoão Távora <joaotavora@gmail.com>
Fri, 25 Nov 2022 13:05:40 +0000 (13:05 +0000)
Fido mode's mantra is to use the 'flex' completion style wherever
possible, but this clashes with some completion table categories that
can't use that style, such as the 'backend-completion' category, which
uses the backend-completion-backend-style style.

* lisp/icomplete.el (icomplete--fido-mode-setup): Don't override
completion-category-defaults.

lisp/icomplete.el

index ef710d582d3825390ac2efcc6bd8c77b3e2ffa2c..983931c20cabd5e1d5bf1b28389db8c79a053c95 100644 (file)
@@ -416,7 +416,6 @@ if that doesn't produce a completion match."
                 icomplete-scroll (not (null icomplete-vertical-mode))
                 completion-styles '(flex)
                 completion-flex-nospace nil
-                completion-category-defaults nil
                 completion-ignore-case t
                 read-buffer-completion-ignore-case t
                 read-file-name-completion-ignore-case t)))