Function: image-transform-fit-to-width
image-transform-fit-to-width is an interactive and byte-compiled
function defined in image-mode.el.gz.
This command is obsolete since 29.1; use
image-transform-fit-to-window instead.
Signature
(image-transform-fit-to-width)
Documentation
Fit the current image to the width of the current window.
Probably introduced at or before Emacs version 24.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-transform-fit-to-width ()
"Fit the current image to the width of the current window."
(declare (obsolete image-transform-fit-to-window "29.1"))
(interactive nil image-mode)
(setq image-transform-resize 'fit-width)
(image-toggle-display-image))