diff options
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r-- | lisp/doc-view.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index fce3597409c..636f78031fa 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -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) |