feat(emacs/lean-mode.el): use --dir option in lean-exec-at-pos

See #821 and #788
This commit is contained in:
Soonho Kong 2015-11-19 12:56:07 -05:00
parent f78e57fd52
commit b4b365239f

View file

@ -154,6 +154,8 @@ will be flushed everytime it's executed."
,process-buffer-name
,(lean-get-executable lean-executable-name)
,lean-mode-option
"--dir"
,(f-dirname (buffer-file-name))
"--line"
,(int-to-string (line-number-at-pos))
"--col"