Function: icomplete--fido-ccd

icomplete--fido-ccd is a byte-compiled function defined in icomplete.el.gz.

Signature

(icomplete--fido-ccd)

Documentation

Make value for completion-category-defaults prioritizing flex.

Source Code

;; Defined in /usr/src/emacs/lisp/icomplete.el.gz
(defun icomplete--fido-ccd ()
  "Make value for `completion-category-defaults' prioritizing `flex'."
  (cl-loop
   for (cat . alist) in completion-category-defaults collect
   `(,cat . ,(cl-loop
              for entry in alist for (prop . val) = entry
              if (and (eq prop 'styles)
                      ;; Never step in front of 'external', as that
                      ;; might lose us completions.
                      (not (memq 'external val)))
              collect `(,prop . (flex ,@(delq 'flex val)))
              else collect entry))))