emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/image.el,v


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/image.el,v
Date: Sat, 06 Oct 2007 22:17:50 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juri Linkov <jurta>     07/10/06 22:17:49

Index: image.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/image.el,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- image.el    27 Sep 2007 16:41:34 -0000      1.78
+++ image.el    6 Oct 2007 22:17:49 -0000       1.79
@@ -323,7 +323,7 @@
                 (or (image-type-from-file-header source)
                     (image-type-from-file-name source))))
     (or type (error "Cannot determine image type")))
-  (or (memq type image-types)
+  (or (memq type (and (boundp 'image-types) image-types))
       (error "Invalid image type `%s'" type))
   type)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]