mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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
|
|
@ -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
Add a link
Reference in a new issue