diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/image-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 9646d8e4c3d..1f4ade6e02e 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -1554,14 +1554,14 @@ The percentage is in relation to the original size of the image." | |||
| 1554 | 1554 | ||
| 1555 | (defun image-transform-fit-to-height () | 1555 | (defun image-transform-fit-to-height () |
| 1556 | "Fit the current image to the height of the current window." | 1556 | "Fit the current image to the height of the current window." |
| 1557 | (declare (obsolete nil "29.1")) | 1557 | (declare (obsolete image-transform-fit-to-window "29.1")) |
| 1558 | (interactive nil image-mode) | 1558 | (interactive nil image-mode) |
| 1559 | (setq image-transform-resize 'fit-height) | 1559 | (setq image-transform-resize 'fit-height) |
| 1560 | (image-toggle-display-image)) | 1560 | (image-toggle-display-image)) |
| 1561 | 1561 | ||
| 1562 | (defun image-transform-fit-to-width () | 1562 | (defun image-transform-fit-to-width () |
| 1563 | "Fit the current image to the width of the current window." | 1563 | "Fit the current image to the width of the current window." |
| 1564 | (declare (obsolete nil "29.1")) | 1564 | (declare (obsolete image-transform-fit-to-window "29.1")) |
| 1565 | (interactive nil image-mode) | 1565 | (interactive nil image-mode) |
| 1566 | (setq image-transform-resize 'fit-width) | 1566 | (setq image-transform-resize 'fit-width) |
| 1567 | (image-toggle-display-image)) | 1567 | (image-toggle-display-image)) |