nim-lang / nim-mode

An emacs major mode for the Nim programming language
137 stars 46 forks source link

Prevent double call to shell-quote-argument. #241

Closed bhrgunatha closed 10 months ago

bhrgunatha commented 2 years ago

Fixes nim-lang/nim-mode#240.

Since nim-compile--get-compile-command is calling nim--fmt which applies shell-quote-argument to the compile command, arguments and file name there is no need to quote buffer-file-name.

Vindaar commented 10 months ago

Unless I'm missing something this does look reasonable indeed. Merging.