fix(emacs/lean-mode.el): use original extension when make temp-file

close #767
This commit is contained in:
Soonho Kong 2015-08-05 12:51:09 -04:00
parent fc6b41ee0e
commit 7d1895928a

View file

@ -37,7 +37,7 @@
(defun lean-create-temp-in-system-tempdir (file-name prefix)
"Create a temp lean file and return its name"
(make-temp-file (or prefix "flymake") nil ".lean"))
(make-temp-file (or prefix "flymake") nil (f-ext file-name)))
(defun lean-execute (&optional arg)
"Execute Lean in the current buffer"