Function: pdf-view-fit-height-to-window
pdf-view-fit-height-to-window is an interactive and natively compiled
function defined in pdf-view.el.
Signature
(pdf-view-fit-height-to-window)
Documentation
Fit PDF height to window.
Key Bindings
pdf-view-mode-map H
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-fit-height-to-window ()
"Fit PDF height to window."
(interactive)
(setq pdf-view-display-size 'fit-height)
(image-set-window-vscroll 0)
(pdf-view-redisplay t))