Function: pdf-view-refresh-themed-buffer

pdf-view-refresh-themed-buffer is a natively compiled function defined in pdf-view.el.

Signature

(pdf-view-refresh-themed-buffer &optional GET-THEME)

Documentation

Refresh the current buffer to activate applied colors.

When GET-THEME is non-nil, also reset the applied colors to the current theme's colors.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-view.el
(defun pdf-view-refresh-themed-buffer (&optional get-theme)
  "Refresh the current buffer to activate applied colors.

When GET-THEME is non-nil, also reset the applied colors to the
current theme's colors."
  (pdf-util-assert-pdf-buffer)
  (pdf-cache-clear-images)
  (when get-theme
    (pdf-view-set-theme-background))
  (pdf-view-redisplay t))