Function: cape-wrap-noninterruptible

cape-wrap-noninterruptible is a natively compiled function defined in cape.el.

Signature

(cape-wrap-noninterruptible CAPF)

Documentation

Call CAPF and return a non-interruptible completion table.

This function can be used as an advice around an existing Capf.

Source Code

;; Defined in /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/cape.el
;;;###autoload
(defun cape-wrap-noninterruptible (capf)
  "Call CAPF and return a non-interruptible completion table.
This function can be used as an advice around an existing Capf."
  (pcase (let (throw-on-input) (funcall capf))
    (`(,beg ,end ,table . ,plist)
     `(,beg ,end ,(cape--noninterruptible-table table) ,@plist))))