Skip to content

Commit

Permalink
Fix unnecessary use of shell-quote-argument
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Sep 19, 2024
1 parent 69374e0 commit b8e63b2
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 @@ -329,7 +329,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 b8e63b2

Please sign in to comment.