fix(emacs/lean-mode.el): use 'shell-quote-argument' in lean-execute

close #544
This commit is contained in:
Soonho Kong 2015-04-13 14:19:39 +01:00
parent 07e195e9f1
commit 20b594e1cd

View file

@ -49,9 +49,9 @@
(buffer-file-name) (buffer-file-name)
(flymake-init-create-temp-buffer-copy 'lean-create-temp-in-system-tempdir)))) (flymake-init-create-temp-buffer-copy 'lean-create-temp-in-system-tempdir))))
(compile (lean-compile-string (compile (lean-compile-string
(lean-get-executable lean-executable-name) (shell-quote-argument (lean-get-executable lean-executable-name))
(or arg "") (or arg "")
target-file-name)))) (shell-quote-argument target-file-name)))))
(defun lean-exec-at-pos (process-name process-buffer-name &rest options) (defun lean-exec-at-pos (process-name process-buffer-name &rest options)
"Execute Lean by providing current position with optional "Execute Lean by providing current position with optional