Minor improvements in documentation of the last change

* etc/NEWS:
* doc/emacs/files.texi (Image Mode): Minor copyedits of last change.
This commit is contained in:
Eli Zaretskii 2020-04-21 16:50:13 +03:00
parent a64da75961
commit fc55f65305
2 changed files with 12 additions and 9 deletions

View file

@ -2126,11 +2126,14 @@ and displaying it in hex representation. Displaying the file as an
image works only if Emacs is compiled with support for displaying image works only if Emacs is compiled with support for displaying
such images. such images.
If the displayed image is wider or taller than the frame, the usual @vindex image-auto-resize
point motion keys (@kbd{C-f}, @kbd{C-p}, and so forth) cause different @vindex image-auto-resize-on-window-resize
parts of the image to be displayed. But by default the image is If the displayed image is wider or taller than the window in which it
resized automatically to fit to the window. You can configure this by is displayed, the usual point motion keys (@kbd{C-f}, @kbd{C-p}, and
using two options @code{image-auto-resize} and so forth) cause different parts of the image to be displayed.
However, by default images are resized automatically to fit the
window, so this is only necessary if you customize the default
behavior by using the options @code{image-auto-resize} and
@code{image-auto-resize-on-window-resize}. @code{image-auto-resize-on-window-resize}.
You can press @kbd{n} (@code{image-next-file}) and @kbd{p} You can press @kbd{n} (@code{image-next-file}) and @kbd{p}

View file

@ -3525,10 +3525,10 @@ according to the orientation in the Exif data, if any.
+++ +++
*** In 'image-mode' the image is resized automatically to fit in window. *** In 'image-mode' the image is resized automatically to fit in window.
The image will resize upon first display and whenever the window's By default, the image will resize upon first display and whenever the
dimensions change. Two user options 'image-auto-resize' and window's dimensions change. Two user options 'image-auto-resize' and
'image-auto-resize-on-window-resize' can define resizing parameters or 'image-auto-resize-on-window-resize' control the resizing behavior
disable auto-resizing. (including the possibility to disable auto-resizing).
--- ---
*** New library image-converter. *** New library image-converter.