Subject: Re: bug#22289: 24.3; Emacs crashes on loading file
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 20 Feb 2019 01:07:35 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 26.2

commit a19bfb7 (HEAD, origin/emacs-26, emacs-26)
Date:   Tue Feb 19 22:04:19 2019 -0800

    Remove .art from the default list of ImageMagick extensions
    
    It seems that .art files can be non-image files that
    ImageMagick mistakenly treats as extremely large images.
    Real .art images seem rare.
    * lisp/image.el (imagemagick-enabled-types): Remove ART.  (Bug#22289)

diff --git a/lisp/image.el b/lisp/image.el
index 3019da5..9d2045d 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -923,7 +923,7 @@ imagemagick-types-inhibit
   :version "24.3")
 
 (defcustom imagemagick-enabled-types
-  '(3FR ART ARW AVS BMP BMP2 BMP3 CAL CALS CMYK CMYKA CR2 CRW
+  '(3FR ARW AVS BMP BMP2 BMP3 CAL CALS CMYK CMYKA CR2 CRW
     CUR CUT DCM DCR DCX DDS DJVU DNG DPX EXR FAX FITS GBR GIF
     GIF87 GRB HRZ ICB ICO ICON J2C JNG JP2 JPC JPEG JPG JPX K25
     KDC MIFF MNG MRW MSL MSVG MTV NEF ORF OTB PBM PCD PCDS PCL
@@ -957,7 +957,7 @@ imagemagick-enabled-types
   :set (lambda (symbol value)
 	 (set-default symbol value)
 	 (imagemagick-register-types))
-  :version "24.3")
+  :version "26.2")                      ; remove ART (bug#22289)
 
 (imagemagick-register-types)