Subject: bug#51596: master fd14111 1/2: New command image-transform-fit-to-window

From: Stefan Kangas <[email-masked]>
Date: Sat, 6 Nov 2021 13:06:26 -0700

[email-masked] (Stefan Kangas) writes:

> branch: master
> commit fd141116f67313c0d9787936cbaa4f12cfaffb9d
> Author: Stefan Kangas <[email-masked]>
> Commit: Stefan Kangas <[email-masked]>
>
>     New command image-transform-fit-to-window
>
>     * lisp/image-mode.el (image-auto-resize, image-transform-resize):
>     Add new value 'fit-window', meaning to scale the image up or down
>     to fit the window.  (Bug#)
>     (image-transform-fit-to-window): New command.
>     (image-transform-fit-to-height, image-transform-fit-to-width):
>     Make obsolete in favor of above new command.
>     (image-mode-map): Bind "s w" to 'image-transform-fit-to-window'.
>     Move binding for obsolete command 'image-transform-fit-to-width'
>     to "s i".
>     (image-mode-map): Add menu entry for
>     'image-transform-fit-to-window'.  Remove menu entries for above
>     obsolete commands.
>     * doc/emacs/files.texi (Image Mode): Update documentation.
>     (image-transform-fit-both): Doc fix.

Ugh, I missed including the bug number.

I'm sending the full commit message with the full SHA here in case
anyone tries searching for it later.