Skip to content

Commit

Permalink
Escape docstring quotes
Browse files Browse the repository at this point in the history
Merge #21
  • Loading branch information
PillFall committed Jun 13, 2024
2 parents 09a750c + baad705 commit c59637c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions languagetool-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ A example hint function:
\(defun hint-function ()
\"Hint display function.\"
(dolist (ov (overlays-at (point)))
(when (overlay-get ov 'languagetool-message)
(when (overlay-get ov \\='languagetool-message)
(unless (current-message)
(message
\"%s%s\"
(overlay-get ov 'languagetool-short-message)
(if (/= 0 (length (overlay-get ov 'languagetool-replacements)))
(overlay-get ov \\='languagetool-short-message)
(if (/= 0 (length (overlay-get ov \\='languagetool-replacements)))
(concat
\" -> (\"
(string-join (languagetool-core-get-replacements ov) \", \")
Expand Down

0 comments on commit c59637c

Please sign in to comment.