]> git.eshelyaron.com Git - emacs.git/commit
* lisp/image-mode.el (image-toggle-display-image): Fix fit of rotated images.
authorJuri Linkov <juri@linkov.net>
Tue, 16 Jun 2020 22:58:32 +0000 (01:58 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 16 Jun 2020 22:58:32 +0000 (01:58 +0300)
commit1dff0a89497fec15297a97fcd643ea8475f704da
tree2bdc14c644272f153d8ec8185908263691fa7cb7
parenta71d1787f128c642f8a1fb297ef5043e20218646
* 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).
lisp/image-mode.el