fix(emacs/lean-mode): handle when there is spaces in filenames

This commit is contained in:
Soonho Kong 2014-11-04 19:22:35 -05:00
parent 53e18d0e39
commit 2273f75e9b

View file

@ -32,7 +32,7 @@
(defun lean-compile-string (exe-name args file-name)
"Concatenate exe-name, args, and file-name"
(format "%s %s %s" exe-name args file-name))
(format "\"%s\" %s \"%s\"" exe-name args file-name))
(defun lean-create-temp-in-system-tempdir (file-name prefix)
"Create a temp lean file and return its name"