Function: image-transform-fit-both
image-transform-fit-both is an interactive and byte-compiled function
defined in image-mode.el.gz.
Signature
(image-transform-fit-both)
Documentation
Scale the current image down to fit in the current window.
Probably introduced at or before Emacs version 29.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-transform-fit-both ()
"Scale the current image down to fit in the current window."
(interactive nil image-mode)
(setq image-transform-resize t)
(image-toggle-display-image))