From 37fe0cd3580f7998bd407d9a089c8c899011f8ae Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 14 Sep 2022 15:34:38 +0200 Subject: Rename image transform commands to be less confusing * lisp/image-mode.el (image-transform-original): Rename from this... (image-transform-reset-to-original): ...to this. Make old name into an obsolete function alias and update all callers. (image-transform-reset): Rename from this... (image-transform-reset-to-initial): ...to this. Make old name into an obsolete function alias and update all callers. (Bug#51451) * doc/emacs/files.texi (Image Mode): Update for above change. --- doc/emacs/files.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/emacs/files.texi') diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 7f87e21a98c..744b848335e 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -2272,16 +2272,16 @@ behavior by using the options @code{image-auto-resize} and @findex image-transform-fit-to-window @findex image-transform-set-percent @findex image-transform-set-scale -@findex image-transform-reset +@findex image-transform-reset-to-initial To resize the image manually you can use the command @code{image-transform-fit-to-window} bound to @kbd{s w} that fits the image to both the window height and width. To scale the image to a percentage of its original size, use the command -@code{image-transform-set-percent} bound to @kbd{s p}. To scale -the image specifying a scale factor, use the command +@code{image-transform-set-percent} bound to @kbd{s p}. To scale the +image specifying a scale factor, use the command @code{image-transform-set-scale} bound to @kbd{s s}. To reset all -transformations to the initial state, use @code{image-transform-reset} -bound to @kbd{s 0}. +transformations to the initial state, use +@code{image-transform-reset-to-initial} bound to @kbd{s 0}. @findex image-next-file @findex image-previous-file -- cgit v1.2.3