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

Fit the current image both to the height and width of the current window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-transform-fit-both ()
  "Fit the current image both to the height and width of the current window."
  (interactive)
  (setq image-transform-resize t)
  (image-toggle-display-image))