mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 07:01:11 -08:00
Improve obsoletion of image-transform-fit-to-{height,width}
* lisp/image-mode.el (image-transform-fit-to-height) (image-transform-fit-to-width): Change obsoletion to refer to new command 'image-transform-fit-to-window'.
This commit is contained in:
parent
0bd96806ef
commit
f1f2bbbc08
1 changed files with 2 additions and 2 deletions
|
|
@ -1554,14 +1554,14 @@ The percentage is in relation to the original size of the image."
|
|||
|
||||
(defun image-transform-fit-to-height ()
|
||||
"Fit the current image to the height of the current window."
|
||||
(declare (obsolete nil "29.1"))
|
||||
(declare (obsolete image-transform-fit-to-window "29.1"))
|
||||
(interactive nil image-mode)
|
||||
(setq image-transform-resize 'fit-height)
|
||||
(image-toggle-display-image))
|
||||
|
||||
(defun image-transform-fit-to-width ()
|
||||
"Fit the current image to the width of the current window."
|
||||
(declare (obsolete nil "29.1"))
|
||||
(declare (obsolete image-transform-fit-to-window "29.1"))
|
||||
(interactive nil image-mode)
|
||||
(setq image-transform-resize 'fit-width)
|
||||
(image-toggle-display-image))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue