Function: cape--super-function
cape--super-function is a natively compiled function defined in
cape.el.
Signature
(cape--super-function PROP CACHE)
Documentation
Extra function for PROP given the candidate CACHE.
Source Code
;; Defined in /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/cape.el
(defun cape--super-function (prop cache)
"Extra function for PROP given the candidate CACHE."
(lambda (cand &rest args)
(if-let* ((ref (get-text-property 0 'cape--super cand)))
(when-let* ((fun (plist-get (cdr ref) prop)))
(apply fun (car ref) args))
(when-let* ((ht (car cache))
(plist (gethash cand ht))
(fun (plist-get plist prop)))
(apply fun cand args)))))