; Fix typo and indexing in the ELisp manual
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Nov 2024 19:34:25 +0000 (21:34 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 4 Nov 2024 19:34:25 +0000 (21:34 +0200)
* doc/lispref/display.texi (Image Descriptors): Fix typo and indexing.
(Defining Images): Fix indexing.

doc/lispref/display.texi

index afb1272ae41510028cde549b134a62c7a2360c13..59d39837cc5dae788a28ef4be400e35b61f8f18e 100644 (file)
@@ -6020,8 +6020,9 @@ is platform dependent, but should be equivalent to bilinear
 filtering.  Disabling smoothing will use the nearest neighbor
 algorithm.
 
+@vindex image-transform-smoothing
 If this property is not specified, @code{create-image} will use the
-@code{image-transform-smoothing} user option to say whether scaling
+@code{image-transform-smoothing} user option to say whether smoothing
 should be done or not.  This option can be @code{nil} (no smoothing),
 @code{t} (use smoothing) or a predicate function that's called with
 the image object as the only parameter, and should return either
@@ -7022,12 +7023,13 @@ Here is an example of using @code{image-load-path-for-library}:
 @end example
 @end defun
 
-@vindex image-scaling-factor
+@vindex image-scaling-factor, and automatic image scaling
 Images are automatically scaled when created based on the
 @code{image-scaling-factor} variable.  The value is either a floating
 point number (where numbers higher than 1 means to increase the size
 and lower means to shrink the size), or the symbol @code{auto}, which
-will compute a scaling factor based on the font pixel size.
+will compute a scaling factor based on the font pixel size.  @xref{Image
+Descriptors}.
 
 @node Showing Images
 @subsection Showing Images