Function: cape-wrap-silent

cape-wrap-silent is an autoloaded and byte-compiled function defined in cape.el.

Signature

(cape-wrap-silent CAPF)

Documentation

Call CAPF and silence it (no messages, no errors).

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-silent (capf)
  "Call CAPF and silence it (no messages, no errors).
This function can be used as an advice around an existing Capf."
  (pcase (cape--silent (funcall capf))
    (`(,beg ,end ,table . ,plist)
     `(,beg ,end ,(cape--silent-table table) ,@plist))))