branch: elpa/typst-ts-mode commit 13dff22973ed9d5176ca2453d54a35a2e22a7ad7 Author: Huan Thieu Nguyen <nguyenthieuh...@gmail.com> Commit: Huan Thieu Nguyen <nguyenthieuh...@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)