diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-14 15:34:38 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-14 15:43:39 +0200 |
commit | 37fe0cd3580f7998bd407d9a089c8c899011f8ae (patch) | |
tree | 77ed2d94bf03ac9fd4cb474c6e255ecad080589f /doc/emacs/files.texi | |
parent | 600bb2d45f2a7b0c9a302fc26f7dd4448b904921 (diff) | |
download | emacs-37fe0cd3580f7998bd407d9a089c8c899011f8ae.tar.gz emacs-37fe0cd3580f7998bd407d9a089c8c899011f8ae.tar.bz2 emacs-37fe0cd3580f7998bd407d9a089c8c899011f8ae.zip |
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.
Diffstat (limited to 'doc/emacs/files.texi')
-rw-r--r-- | doc/emacs/files.texi | 10 |
1 files changed, 5 insertions, 5 deletions
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 |