From: João Távora Date: Wed, 7 Dec 2022 10:43:59 +0000 (+0000) Subject: Don't override completion-category-defaults in fido-mode X-Git-Tag: emacs-29.0.90~1323 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf81df86e52fdc995bec8d9646f84d114cb896d1;p=emacs.git Don't override completion-category-defaults in fido-mode To more closely emulate ido-mode, fido-mode and fido-vertical-mode strongly lean to the 'flex completion style. But overriding completion-category-defaults is not the correct way to do it, since sometimes even the 'flex style isn't possible. * lisp/icomplete.el (icomplete--fido-mode-setup): Don't set completion-category-defaults here. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index ef710d582d3..983931c20ca 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -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)))