Function: cape--separator-p
cape--separator-p is a byte-compiled function defined in cape.el.
Signature
(cape--separator-p STR)
Documentation
Return non-nil if input STR has a separator character.
Separator characters are used by completion styles like Orderless
to split filter words. In Corfu, the separator is configurable
via the variable corfu-separator.
Source Code
;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
(defun cape--separator-p (str)
"Return non-nil if input STR has a separator character.
Separator characters are used by completion styles like Orderless
to split filter words. In Corfu, the separator is configurable
via the variable `corfu-separator'."
(string-search (string ;; Support `corfu-separator' and Orderless
(or (and (bound-and-true-p corfu-mode)
(bound-and-true-p corfu-separator))
?\s))
str))