Function: cape-wrap-noninterruptible

cape-wrap-noninterruptible is an autoloaded and byte-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 ~/.emacs.d/elpa/cape-20260804.2303/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))))