From f0abc9bc0d536e5b2834c04714d75d18fde431c3 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Fri, 29 Sep 2023 20:23:56 +0530 Subject: [PATCH] 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) --- lisp/doc-view.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5