Function: completion-flex-all-completions
completion-flex-all-completions is a byte-compiled function defined in
minibuffer.el.gz.
Signature
(completion-flex-all-completions STRING TABLE PRED POINT)
Documentation
Get flex-completions of STRING in TABLE, given PRED and POINT.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun completion-flex-all-completions (string table pred point)
"Get flex-completions of STRING in TABLE, given PRED and POINT."
(unless (and completion-flex-nospace (string-search " " string))
(pcase-let ((`(,all ,pattern ,prefix ,_suffix ,_carbounds)
(completion-substring--all-completions
string table pred point
#'completion-flex--make-flex-pattern)))
(when all
(nconc (completion-pcm--hilit-commonality pattern all)
(length prefix))))))