]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typo and indexing in the ELisp manual
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Nov 2024 19:34:25 +0000 (21:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 9 Nov 2024 15:47:06 +0000 (16:47 +0100)
* doc/lispref/display.texi (Image Descriptors): Fix typo and indexing.
(Defining Images): Fix indexing.

(cherry picked from commit 83f095d1fd4be8be5db61fd6a94fc6203cc78b2f)

doc/lispref/display.texi

index ccf760e19d5c464825e940015ccb1be7b5911915..d73cf582ac5f6aaa7f86eb8490ce773a9722acc2 100644 (file)
@@ -6048,8 +6048,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
@@ -7050,12 +7051,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