Commit c44d54b3 authored by Tassilo Horn's avatar Tassilo Horn

* doc-view.el (doc-view-mode-p): Check for png or imagemagick

image backend support.  Either of them is fine.
parent 2b9f6562
2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-mode-p): Check for png or imagemagick
image backend support. Either of them is fine.
2011-01-08 Chong Yidong <cyd@stupidchicken.com>
* subr.el (y-or-n-p): Doc fix.
......
......@@ -621,7 +621,8 @@ It's a subdirectory of `doc-view-cache-directory'."
Document types are symbols like `dvi', `ps', `pdf', or `odf' (any
OpenDocument format)."
(and (display-graphic-p)
(image-type-available-p 'png)
(or (image-type-available-p 'imagemagick)
(image-type-available-p 'png))
(cond
((eq type 'dvi)
(and (doc-view-mode-p 'pdf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment