changeset 84949:b288edc441a8

Simplify previous change (auto can only be non-nil if type is).
author Glenn Morris <rgm@gnu.org>
date Thu, 27 Sep 2007 16:41:34 +0000
parents 3977b897d1a1
children 07824eca67a8
files lisp/image.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/image.el	Thu Sep 27 11:55:06 2007 +0000
+++ b/lisp/image.el	Thu Sep 27 16:41:34 2007 +0000
@@ -348,7 +348,7 @@
 must be available."
   (let* ((type (image-type-from-buffer))
 	 (auto (and type (cdr (assq type image-type-auto-detectable)))))
-    (and type auto
+    (and auto
 	 (or (eq auto t) (image-type-available-p type)))))