summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
authorVisuwesh <visuweshm@gmail.com>2023-09-29 20:23:56 +0530
committerStefan Kangas <stefankangas@gmail.com>2023-10-01 14:58:48 +0200
commitf0abc9bc0d536e5b2834c04714d75d18fde431c3 (patch)
treef8be5cd281a74c697cebb1b011a7dea9036612b0 /lisp/doc-view.el
parenta96dc984dd6fd6e81a1ee53e4d82bd7ff9789f49 (diff)
downloademacs-f0abc9bc0d536e5b2834c04714d75d18fde431c3.tar.gz
Fix doc-view conversion indicator for svg images
* lisp/doc-view.el (doc-view-pdf->png-converter-mupdf): Show the correct pdf->svg indicator when producing svg images. (Bug#62713)
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r--lisp/doc-view.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index a2ad4660f73..210b7ace7d6 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1280,7 +1280,8 @@ The test is performed using `doc-view-pdfdraw-program'."
(expand-file-name
doc-view-epub-user-stylesheet)))))))
(doc-view-start-process
- "pdf->png" doc-view-pdfdraw-program
+ (concat "pdf->" (symbol-name doc-view--image-type))
+ doc-view-pdfdraw-program
`(,@(doc-view-pdfdraw-program-subcommand)
,@options
,pdf