diff options
| author | Chong Yidong | 2012-06-04 21:01:17 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-06-04 21:01:17 +0800 |
| commit | 041df390e0baff9b08ccb0904fc2e8f0c9fd6c38 (patch) | |
| tree | 0c607430ac5ee1f91e4992896cbbb6ed56dde494 | |
| parent | 9c29597b231f64524101bb894de063ade5073a19 (diff) | |
| download | emacs-041df390e0baff9b08ccb0904fc2e8f0c9fd6c38.tar.gz emacs-041df390e0baff9b08ccb0904fc2e8f0c9fd6c38.zip | |
More tweaks to ImageMagick types.
* lisp/image.el (imagemagick-types-inhibit): Revert last change. Add
INFO and M.
(imagemagick-enabled-types): Remove EPS and related formats.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/image.el | 19 |
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1c728c06c1f..d06afabd987 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-06-04 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * image.el (imagemagick-types-inhibit): Revert last change. Add | ||
| 4 | INFO and M. | ||
| 5 | (imagemagick-enabled-types): Remove EPS and related formats. | ||
| 6 | |||
| 1 | 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * emacs-lisp/cl-lib.el: Rename from cl.el. | 9 | * emacs-lisp/cl-lib.el: Rename from cl.el. |
diff --git a/lisp/image.el b/lisp/image.el index 695763ab0f5..fc3c90e548d 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -750,7 +750,8 @@ If Emacs is compiled without ImageMagick support, this does nothing." | |||
| 750 | (push (cons re 'imagemagick) image-type-file-name-regexps))) | 750 | (push (cons re 'imagemagick) image-type-file-name-regexps))) |
| 751 | (setq imagemagick--file-regexp re)))) | 751 | (setq imagemagick--file-regexp re)))) |
| 752 | 752 | ||
| 753 | (defcustom imagemagick-types-inhibit nil | 753 | (defcustom imagemagick-types-inhibit |
| 754 | '(C HTML HTM INFO M TXT PDF) | ||
| 754 | "List of ImageMagick types that should never be treated as images. | 755 | "List of ImageMagick types that should never be treated as images. |
| 755 | This should be a list of symbols, each of which should be one of | 756 | This should be a list of symbols, each of which should be one of |
| 756 | the ImageMagick types listed by `imagemagick-types'. The listed | 757 | the ImageMagick types listed by `imagemagick-types'. The listed |
| @@ -775,14 +776,14 @@ has no effect." | |||
| 775 | 776 | ||
| 776 | (defcustom imagemagick-enabled-types | 777 | (defcustom imagemagick-enabled-types |
| 777 | '(3FR ART ARW AVS BMP BMP2 BMP3 CAL CALS CIN CMYK CMYKA CR2 CRW | 778 | '(3FR ART ARW AVS BMP BMP2 BMP3 CAL CALS CIN CMYK CMYKA CR2 CRW |
| 778 | CUR CUT DCM DCR DCX DDS DJVU DNG DPX EPDF EPS EPS2 EPS3 EPSF | 779 | CUR CUT DCM DCR DCX DDS DJVU DNG DPX EXR FAX FITS GBR GIF |
| 779 | EPSI EXR FAX FITS GBR GIF GIF87 GRB HRZ ICB ICO ICON J2C JNG | 780 | GIF87 GRB HRZ ICB ICO ICON J2C JNG JP2 JPC JPEG JPG JPX K25 |
| 780 | JP2 JPC JPEG JPG JPX K25 KDC MIFF MNG MRW MSL MSVG MTV NEF | 781 | KDC MIFF MNG MRW MSL MSVG MTV NEF ORF OTB PBM PCD PCDS PCL |
| 781 | ORF OTB PBM PCD PCDS PCL PCT PCX PDB PEF PGM PICT PIX PJPEG | 782 | PCT PCX PDB PEF PGM PICT PIX PJPEG PNG PNG24 PNG32 PNG8 PNM |
| 782 | PNG PNG24 PNG32 PNG8 PNM PPM PSD PTIF PWP RAF RAS RBG RGB | 783 | PPM PSD PTIF PWP RAF RAS RBG RGB RGBA RGBO RLA RLE SCR SCT |
| 783 | RGBA RGBO RLA RLE SCR SCT SFW SGI SR2 SRF SUN SVG SVGZ TGA | 784 | SFW SGI SR2 SRF SUN SVG SVGZ TGA TIFF TIFF64 TILE TIM TTF |
| 784 | TIFF TIFF64 TILE TIM TTF UYVY VDA VICAR VID VIFF VST WBMP WPG | 785 | UYVY VDA VICAR VID VIFF VST WBMP WPG X3F XBM XC XCF XPM XV |
| 785 | X3F XBM XC XCF XPM XV XWD YCbCr YCbCrA YUV) | 786 | XWD YCbCr YCbCrA YUV) |
| 786 | "List of ImageMagick types to treat as images. | 787 | "List of ImageMagick types to treat as images. |
| 787 | Each list element should be a string or symbol, representing one | 788 | Each list element should be a string or symbol, representing one |
| 788 | of the image types returned by `imagemagick-types'. If the | 789 | of the image types returned by `imagemagick-types'. If the |