feat(emacs/lean-input): add lean-input-export-translations-to-stdout

This commit is contained in:
Soonho Kong 2015-03-26 12:42:02 -04:00
parent a1c1fcb2f0
commit c8e1ed9551

View file

@ -1120,3 +1120,8 @@ leanprover.github.io/js/input-method.js"
(insert (format "\"},\n" input)))) (insert (format "\"},\n" input))))
(insert "};"))) (insert "};")))
(defun lean-input-export-translations-to-stdout ()
(lean-input-export-translations)
(with-current-buffer "*lean-translations*"
(princ (buffer-string))))