aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-11-04 21:34:25 +0200
committerEli Zaretskii2024-11-04 21:34:25 +0200
commit83f095d1fd4be8be5db61fd6a94fc6203cc78b2f (patch)
tree721d7067b1cf4d944f5e7a78c64cb9da0b16c666
parent37b1799c9e5677db35ac509729a29fb7cd44cf39 (diff)
downloademacs-83f095d1fd4be8be5db61fd6a94fc6203cc78b2f.tar.gz
emacs-83f095d1fd4be8be5db61fd6a94fc6203cc78b2f.zip
; Fix typo and indexing in the ELisp manual
* doc/lispref/display.texi (Image Descriptors): Fix typo and indexing. (Defining Images): Fix indexing.
-rw-r--r--doc/lispref/display.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index afb1272ae41..59d39837cc5 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -6020,8 +6020,9 @@ is platform dependent, but should be equivalent to bilinear
6020filtering. Disabling smoothing will use the nearest neighbor 6020filtering. Disabling smoothing will use the nearest neighbor
6021algorithm. 6021algorithm.
6022 6022
6023@vindex image-transform-smoothing
6023If this property is not specified, @code{create-image} will use the 6024If this property is not specified, @code{create-image} will use the
6024@code{image-transform-smoothing} user option to say whether scaling 6025@code{image-transform-smoothing} user option to say whether smoothing
6025should be done or not. This option can be @code{nil} (no smoothing), 6026should be done or not. This option can be @code{nil} (no smoothing),
6026@code{t} (use smoothing) or a predicate function that's called with 6027@code{t} (use smoothing) or a predicate function that's called with
6027the image object as the only parameter, and should return either 6028the 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}:
7022@end example 7023@end example
7023@end defun 7024@end defun
7024 7025
7025@vindex image-scaling-factor 7026@vindex image-scaling-factor, and automatic image scaling
7026Images are automatically scaled when created based on the 7027Images are automatically scaled when created based on the
7027@code{image-scaling-factor} variable. The value is either a floating 7028@code{image-scaling-factor} variable. The value is either a floating
7028point number (where numbers higher than 1 means to increase the size 7029point number (where numbers higher than 1 means to increase the size
7029and lower means to shrink the size), or the symbol @code{auto}, which 7030and lower means to shrink the size), or the symbol @code{auto}, which
7030will compute a scaling factor based on the font pixel size. 7031will compute a scaling factor based on the font pixel size. @xref{Image
7032Descriptors}.
7031 7033
7032@node Showing Images 7034@node Showing Images
7033@subsection Showing Images 7035@subsection Showing Images