emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f0abc9bc0d5: Fix doc-view conversion indicator for svg images


From: Stefan Kangas
Subject: master f0abc9bc0d5: Fix doc-view conversion indicator for svg images
Date: Sun, 1 Oct 2023 08:59:34 -0400 (EDT)

branch: master
commit f0abc9bc0d536e5b2834c04714d75d18fde431c3
Author: Visuwesh <visuweshm@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]