diff options
author | Glenn Morris <rgm@gnu.org> | 2007-09-27 16:41:34 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-09-27 16:41:34 +0000 |
commit | d567be222cce21e4958a27906d81fceffa40a45c (patch) | |
tree | 983098e2ff83ad5d5e3979e225e3baec67504284 /lisp/image.el | |
parent | 2092ac41d6f0b0ea33f0d321a537d9c1800894fd (diff) | |
download | emacs-d567be222cce21e4958a27906d81fceffa40a45c.tar.gz |
Simplify previous change (auto can only be non-nil if type is).
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 2 |
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))))) |