fix(emacs/lean-tags): use the same linja option for tags-gen and flycheck

This commit is contained in:
Soonho Kong 2014-09-05 19:10:45 -07:00
parent 8610330cc4
commit e4a687c5ea

View file

@ -12,7 +12,7 @@
(let ((ltags-file-name (lean-get-executable "linja"))
tags-file-name)
(message "Generating TAGS...")
(call-process ltags-file-name nil nil nil "TAGS")
(call-process ltags-file-name nil nil nil (string-join lean-flycheck-checker-options " ") "TAGS")
(message "TAGS generated."))
(unless tags-table-list
(setq tags-file-name (lean-find-file-upward "TAGS"))