Function: pdf-cache--clear-images-of-annotations

pdf-cache--clear-images-of-annotations is a natively compiled function defined in pdf-cache.el.

Signature

(pdf-cache--clear-images-of-annotations FN)

Documentation

Clear the images cache when annotations are modified.

FN is a closure as described in pdf-annot-modified-functions.

Note: This is an internal function and not meant to be directly used.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-cache.el
(defun pdf-cache--clear-images-of-annotations (fn)
  "Clear the images cache when annotations are modified.

FN is a closure as described in `pdf-annot-modified-functions'.

Note: This is an internal function and not meant to be directly used."
  (apply #'pdf-cache-clear-images-of-pages
         (mapcar (lambda (a)
                   (cdr (assq 'page a)))
                 (funcall fn t))))