Function: cape--super-function
cape--super-function is a byte-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 ~/.emacs.d/elpa/cape-20260804.2303/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)))))