* lisp/image-mode.el (image-toggle-display-image): Fix fit of rotated images.

When fitting rotated image to width and height, swap width and height
when changing orientation between portrait and landscape (bug#41886).
1 job for emacs-27 in 179 minutes and 57 seconds (queued for 7 seconds)
Status Job ID Name Coverage
failed #6372


Name Stage Failure
test-all Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
make[2]: Nothing to be done for 'compile-targets'.
make[2]: Leaving directory '/builds/emacs/emacs/lisp'
make[1]: Leaving directory '/builds/emacs/emacs/lisp'
make -C test check-expensive
make[1]: Entering directory '/builds/emacs/emacs/test'
rm -f ./*.tmp
make[2]: Entering directory '/builds/emacs/emacs/test'
make[3]: Entering directory '/builds/emacs/emacs/test'
ELC lisp/net/tramp-tests.elc
GEN lisp/net/tramp-tests.log