mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Simplify previous change (auto can only be non-nil if type is).
This commit is contained in:
parent
2092ac41d6
commit
d567be222c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue