Variable: pdf-cache-prefetch-pages-function

pdf-cache-prefetch-pages-function is a customizable variable defined in pdf-cache.el.

Value

pdf-cache-prefetch-pages-function-default

Documentation

A function returning a list of pages to be prefetched.

It is called with no arguments in the PDF window and should return a list of page-numbers, determining the pages that should be prefetched and their order.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-cache.el
(defcustom pdf-cache-prefetch-pages-function
  'pdf-cache-prefetch-pages-function-default
  "A function returning a list of pages to be prefetched.

It is called with no arguments in the PDF window and should
return a list of page-numbers, determining the pages that should
be prefetched and their order."
  :group 'pdf-view
  :type 'function)