* doc-view.el (doc-view-mode-p): Check for png or imagemagick
image backend support. Either of them is fine.
This commit is contained in:
parent
2b9f65621b
commit
c44d54b34f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue