Function: cape--super-complete

cape--super-complete is a byte-compiled function defined in cape.el.

Signature

(cape--super-complete STR PRED ACTION TABLES)

Documentation

Complete with ACTION for input STR and predicate PRED for all TABLES.

Source Code

;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
(defun cape--super-complete (str pred action tables)
  "Complete with ACTION for input STR and predicate PRED for all TABLES."
  (cl-loop
   for (_main table-pred table _cand-plist) in tables
   thereis (complete-with-action
            action table str
            (if (and table-pred pred)
                (lambda (x) (and (funcall table-pred x) (funcall pred x)))
              (or table-pred pred)))))