Skip to content

Commit

Permalink
Release Version 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PillFall committed Jul 22, 2021
2 parents feea3f9 + ad37a79 commit d3665a9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion ChangeLog.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Change Log
Joar Buitago <jebuitragoc@unal.edu.co>
v0.4.1, 2020-01-21
v0.4.3, 2020-01-21

All notable changes to this project will be documented in this file.

Expand All @@ -13,6 +13,10 @@ link:https://semver.org/spec/v2.0.0.html[Semantic Versioning].

== [Unreleased]

== [0.4.3]
=== Fixed
* Error when putting `~` on LanguageTool jar path. (Fix #7)

== [0.4.2]
=== Fixed
* Error when checking with classes on. (Fix #3)
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= languagetool.el
Joar Buitago <jebuitragoc@unal.edu.co>
v0.4.2, 2020-01-21
v0.4.3, 2020-01-21

[.text-center]
--
Expand Down
2 changes: 1 addition & 1 deletion languagetool-issue-faces.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Joar Buitrago <jebuitragoc@unal.edu.co>
;; Keywords: grammar text docs tools convenience checker
;; URL: https://github.com/PillFall/Emacs-LanguageTool.el
;; Version: 0.4.2
;; Version: 0.4.3
;; Package-Requires: ((emacs "25.1") (request "0.3.2"))

;; This program is free software; you can redistribute it and/or modify
Expand Down
10 changes: 5 additions & 5 deletions languagetool.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Joar Buitrago <jebuitragoc@unal.edu.co>
;; Keywords: grammar text docs tools convenience checker
;; URL: https://github.com/PillFall/Emacs-LanguageTool.el
;; Version: 0.4.2
;; Version: 0.4.3
;; Package-Requires: ((emacs "25.1") (request "0.3.2"))

;; This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -265,7 +265,7 @@ Its not recommended to run this function more than once."
(error "LanguageTool Server jar path is not set"))
(unless (or
languagetool-language-tool-class
(file-readable-p languagetool-server-language-tool-jar))
(file-readable-p (file-truename languagetool-server-language-tool-jar)))
(error "LanguageTool Server jar is not readable or could not be found"))

(let ((buffer (get-buffer-create languagetool-server-output-buffer-name)))
Expand Down Expand Up @@ -300,7 +300,7 @@ Its not recommended to run this function more than once."
;; Appends the LanguageTool Server jar path
(unless languagetool-language-tool-class
(setq arguments (append arguments (list "-cp"))))
(setq arguments (append arguments (list languagetool-server-language-tool-jar)))
(setq arguments (append arguments (list (file-truename languagetool-server-language-tool-jar))))
(unless languagetool-language-tool-class
(setq arguments (append arguments (list "org.languagetool.server.HTTPServer"))))

Expand Down Expand Up @@ -501,7 +501,7 @@ the call of LanguageTool when correcting the text."
;; Appends the LanguageTool jar path
(unless languagetool-language-tool-class
(setq arguments (append arguments (list "-jar"))))
(setq arguments (append arguments (list languagetool-language-tool-jar)))
(setq arguments (append arguments (list (file-truename languagetool-language-tool-jar))))

;; Appends the LanguageTool arguments
(dolist (arg languagetool-language-tool-arguments)
Expand Down Expand Up @@ -606,7 +606,7 @@ The region is delimited by BEGIN and END."
(error "LanguageTool jar path is not set"))
(unless (or
languagetool-language-tool-class
(file-readable-p languagetool-language-tool-jar))
(file-readable-p (file-truename languagetool-language-tool-jar)))
(error "LanguageTool jar is not readable or could not be found"))

(save-excursion
Expand Down

0 comments on commit d3665a9

Please sign in to comment.