fix(emacs/lean-mode.el): use original extension when make temp-file
close #767
This commit is contained in:
parent
fc6b41ee0e
commit
7d1895928a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue