Skip to content

Commit

Permalink
Merge pull request #51 from akirak/fix-unneeded-shell-quote
Browse files Browse the repository at this point in the history
Remove unnecessary use of shell-quote-argument
  • Loading branch information
andorsk authored Nov 7, 2024
2 parents ec1d6a1 + b8e63b2 commit 872a0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Argument FILE-NAME the input file."
(interactive "fFilename: ")
(let* ((input file-name)
(output (concat (file-name-sans-extension input) d2-output-format)))
(apply #'call-process (shell-quote-argument d2-location) nil "*d2*" nil (append (list input output) d2-flags))
(apply #'call-process d2-location nil "*d2*" nil (append (list input output) d2-flags))
(if (equal browse t)
(progn
(d2-browse-file output))
Expand Down

0 comments on commit 872a0d7

Please sign in to comment.