Function: projection--cache-remove
projection--cache-remove is a natively compiled function defined in
projection-core-cache.el.
Signature
(projection--cache-remove PROJECT KEY &optional CACHE)
Documentation
Remove the entry for KEY in PROJECT.
When CACHE is given retrieve the entry from CACHE instead of
projection--project-cache. Set PROJECT to 'query to auto find
the current project.
Source Code
;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-cache.el
(defun projection--cache-remove (project key &optional cache)
"Remove the entry for KEY in PROJECT.
When CACHE is given retrieve the entry from CACHE instead of
`projection--project-cache'. Set PROJECT to \\='query to auto find
the current project."
(or cache (setq cache projection--project-cache))
(when (eq project 'query)
(setq project (projection--current-project)))
(let ((project-key (projection--cache-key project)))
(when-let* ((existing (gethash project-key cache)))
(puthash project-key (assoc-delete-all key existing) cache))))