aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 21:39:21 +0200
committerEli Zaretskii2016-09-23 16:44:28 +0300
commite0dd65cd444fd9e5ee6b5921936c6c829df75e50 (patch)
tree3662976ef164385a0c8b8aeaa2ae55ce37493251
parentdc1e0ac761725931f23de13df4ef5020372a52a0 (diff)
downloademacs-e0dd65cd444fd9e5ee6b5921936c6c829df75e50.tar.gz
emacs-e0dd65cd444fd9e5ee6b5921936c6c829df75e50.zip
Document how to check for ImageMagick support
* doc/lispref/display.texi (ImageMagick Images): Say how to check for ImageMagick support, which isn't quite obvious (bug#20702). This is backport from master (cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)
-rw-r--r--doc/lispref/display.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index d3e424853ad..68b48e0df91 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5157,6 +5157,12 @@ Conveniences,,, emacs, The GNU Emacs Manual}). The image type symbol
5157for images loaded via ImageMagick is @code{imagemagick}, regardless of 5157for images loaded via ImageMagick is @code{imagemagick}, regardless of
5158the actual underlying image format. 5158the actual underlying image format.
5159 5159
5160To check for ImageMagick support, use the following:
5161
5162@lisp
5163(image-type-available-p 'imagemagick)
5164@end lisp
5165
5160@defun imagemagick-types 5166@defun imagemagick-types
5161This function returns a list of image file extensions supported by the 5167This function returns a list of image file extensions supported by the
5162current ImageMagick installation. Each list element is a symbol 5168current ImageMagick installation. Each list element is a symbol