mhayashi1120 / Emacs-langtool

LanguageTool for Emacs
GNU General Public License v3.0
378 stars 31 forks source link

Add support for specifying LanguageTool's classpath instead of a jar file #12

Closed toroidal-code closed 9 years ago

toroidal-code commented 9 years ago

In some instances, a classpath specification is needed instead of the jar file, Arch Linux for instance.

This commit adds the langtool-java-classpath custom variable which can be set to LanguageTool's classpath.

If it is set, we prefer the classpath over the jar, otherwise, we attempt to locate the jar file, ensure it exists, and then use that if it does.

Closes #11