diff options
author | Glenn Morris <rgm@gnu.org> | 2014-01-22 00:30:00 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-01-22 00:30:00 -0800 |
commit | 7b997b14589f85f2987f45a99abb8cfa4cd8d390 (patch) | |
tree | 8cd0f5d4c3a601deec6965fa20882d8bbfe420f0 /lisp/image.el | |
parent | 44e76f9dd1ab4b37eef3702912a1e20f00353868 (diff) | |
download | emacs-7b997b14589f85f2987f45a99abb8cfa4cd8d390.tar.gz |
Some doc for image-format-suffixes
* doc/lispref/display.texi (ImageMagick Images):
Expand on image-format-suffixes.
* lisp/image.el (image-format-suffixes): Doc fix.
* etc/NEWS: Related markup.
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/image.el b/lisp/image.el index dec6991666a..d16fe4fb0ba 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -104,11 +104,13 @@ AUTODETECT can be (defvar image-format-suffixes '((image/x-icon "ico")) - "Alist of MIME Content-Type headers to file name suffixes. + "An alist associating image types with file name suffixes. This is used as a hint by the ImageMagick library when detecting -image types. If `create-image' is called with a :format -matching found in this alist, the ImageMagick library will be -told that the data would have this suffix if saved to a file.") +the type of image data (that does not have an associated file name). +Each element has the form (MIME-CONTENT-TYPE EXTENSION). +If `create-image' is called with a :format attribute whose value +equals a content-type found in this list, the ImageMagick library is +told that the data would have the associated suffix if saved to a file.") (defcustom image-load-path (list (file-name-as-directory (expand-file-name "images" data-directory)) |