Function: pdf-view--redisplay
pdf-view--redisplay is a natively compiled function defined in
pdf-view.el.
Signature
(pdf-view--redisplay &optional WINDOW)
Documentation
Redisplay page in WINDOW.
If WINDOW is t, redisplay pages in all windows.
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--redisplay (&optional window)
"Redisplay page in WINDOW.
If WINDOW is t, redisplay pages in all windows."
(unless pdf-view-inhibit-redisplay
(if (not (eq t window))
(pdf-view-display-page
(pdf-view-current-page window)
window)
(dolist (win (get-buffer-window-list nil nil t))
(pdf-view-display-page
(pdf-view-current-page win)
win))
(when (consp image-mode-winprops-alist)
(dolist (window (mapcar #'car image-mode-winprops-alist))
(unless (or (not (window-live-p window))
(eq (current-buffer)
(window-buffer window)))
(setf (pdf-view-window-needs-redisplay window) t)))))
(force-mode-line-update)))