Function: cape--separator-p
cape--separator-p is a natively 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 /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/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))