emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/typst-ts-mode 13dff22973 02/19: fix: use start-process ins


From: ELPA Syncer
Subject: [nongnu] elpa/typst-ts-mode 13dff22973 02/19: fix: use start-process instead of async-shell-command #42
Date: Thu, 24 Apr 2025 07:04:42 -0400 (EDT)

branch: elpa/typst-ts-mode
commit 13dff22973ed9d5176ca2453d54a35a2e22a7ad7
Author: Huan Thieu Nguyen <nguyenthieuhuan@gmail.com>
Commit: Huan Thieu Nguyen <nguyenthieuhuan@gmail.com>

    fix: use start-process instead of async-shell-command #42
---
 typst-ts-misc-commands.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/typst-ts-misc-commands.el b/typst-ts-misc-commands.el
index 9b1d64478a..e90a5d9996 100644
--- a/typst-ts-misc-commands.el
+++ b/typst-ts-misc-commands.el
@@ -50,10 +50,8 @@
          (file-name (file-relative-name buffer-file-name base-path))
          (output-file-name
           (file-name-with-extension file-name "md")))
-    ;; FIXME: Use `start-process' so we don't need to `shell-quote-argument'?
-    (async-shell-command
-     (concat "pandoc -o " (shell-quote-argument output-file-name)
-             " " (shell-quote-argument file-name)))))
+    (start-process "pandoc" shell-command-buffer-name
+                   "pandoc" "-o" output-file-name file-name)))
 
 (defun typst-ts-mc-search-typst-symbol ()
   (interactive)



reply via email to

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