fix(emacs/lean-mode): pass lean-options to lean-execute
Related issue: #196
This commit is contained in:
parent
75ab5e07d6
commit
ff6862f587
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,10 @@
|
|||
|
||||
(defun lean-execute (&optional arg)
|
||||
"Execute Lean in the current buffer"
|
||||
(interactive "sarg: ")
|
||||
(interactive)
|
||||
(setq arg (concat (lean-option-string) " " arg))
|
||||
(when (called-interactively-p)
|
||||
(setq arg (read-string "arg: " arg)))
|
||||
(let ((target-file-name
|
||||
(or
|
||||
(buffer-file-name)
|
||||
|
|
Loading…
Reference in a new issue