From af97364fcbdfcecdb131597aa05615fcbf94fa0f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 4 Nov 2024 21:34:25 +0200 Subject: [PATCH] ; Fix typo and indexing in the ELisp manual * doc/lispref/display.texi (Image Descriptors): Fix typo and indexing. (Defining Images): Fix indexing. (cherry picked from commit 83f095d1fd4be8be5db61fd6a94fc6203cc78b2f) --- doc/lispref/display.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index ccf760e19d5..d73cf582ac5 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -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 -- 2.39.5