diff options
| author | Glenn Morris | 2007-09-27 16:41:34 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-27 16:41:34 +0000 |
| commit | d567be222cce21e4958a27906d81fceffa40a45c (patch) | |
| tree | 983098e2ff83ad5d5e3979e225e3baec67504284 | |
| parent | 2092ac41d6f0b0ea33f0d321a537d9c1800894fd (diff) | |
| download | emacs-d567be222cce21e4958a27906d81fceffa40a45c.tar.gz emacs-d567be222cce21e4958a27906d81fceffa40a45c.zip | |
Simplify previous change (auto can only be non-nil if type is).
| -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 | |||
| 348 | must be available." | 348 | must be available." |
| 349 | (let* ((type (image-type-from-buffer)) | 349 | (let* ((type (image-type-from-buffer)) |
| 350 | (auto (and type (cdr (assq type image-type-auto-detectable))))) | 350 | (auto (and type (cdr (assq type image-type-auto-detectable))))) |
| 351 | (and type auto | 351 | (and auto |
| 352 | (or (eq auto t) (image-type-available-p type))))) | 352 | (or (eq auto t) (image-type-available-p type))))) |
| 353 | 353 | ||
| 354 | 354 | ||