fix(emacs/lean-flycheck.el): use -concat in lean-flycheck-command
This commit is contained in:
parent
1d25f9fa06
commit
c4ec89ae6d
1 changed files with 7 additions and 8 deletions
|
@ -17,14 +17,13 @@
|
||||||
(defun lean-flycheck-command ()
|
(defun lean-flycheck-command ()
|
||||||
"Concat lean-flychecker-checker-name with options"
|
"Concat lean-flychecker-checker-name with options"
|
||||||
(let ((command
|
(let ((command
|
||||||
(cl-concatenate 'list
|
(-concat `(,(lean-get-executable lean-flycheck-checker-name))
|
||||||
`(,(lean-get-executable lean-flycheck-checker-name))
|
lean-flycheck-checker-options
|
||||||
lean-flycheck-checker-options
|
'("--cache")
|
||||||
'("--cache")
|
'(source-original)
|
||||||
'(source-original)
|
'((eval (lean-option-string t)))
|
||||||
'((eval (lean-option-string t)))
|
'("--")
|
||||||
'("--")
|
'(source-inplace))))
|
||||||
'(source-inplace))))
|
|
||||||
(when (string= system-type "windows-nt")
|
(when (string= system-type "windows-nt")
|
||||||
(setq command (cons "python" command)))
|
(setq command (cons "python" command)))
|
||||||
command))
|
command))
|
||||||
|
|
Loading…
Reference in a new issue