summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-09-27 16:41:34 +0000
committerGlenn Morris <rgm@gnu.org>2007-09-27 16:41:34 +0000
commitd567be222cce21e4958a27906d81fceffa40a45c (patch)
tree983098e2ff83ad5d5e3979e225e3baec67504284 /lisp
parent2092ac41d6f0b0ea33f0d321a537d9c1800894fd (diff)
downloademacs-d567be222cce21e4958a27906d81fceffa40a45c.tar.gz
Simplify previous change (auto can only be non-nil if type is).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/image.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 77f8ffe02c2..7e42c26dd69 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -348,7 +348,7 @@ non-nil value. If that value is non-nil, but not t, then the image type
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)))))