branch: externals/guess-language
commit c0a9cd33d8233e2e0cd62b28fdb7128945b3de99
Author: Titus von der Malsburg <[email protected]>
Commit: Titus von der Malsburg <[email protected]>
Mention custom functions in commentary.
---
guess-language.el | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/guess-language.el b/guess-language.el
index f7c23e6..729710d 100644
--- a/guess-language.el
+++ b/guess-language.el
@@ -26,10 +26,15 @@
;; incorrect word and changes Ispell's dictionary and typo-mode (if
;; present) accordingly. If the language settings change, flyspell is
;; rerun but only on the current paragraph. Guess-language thus
-;; supports documents using multiple languages. If the paragraph is
-;; shorter than some user-defined value, none of the above happens
-;; because there is likely not enough text to guess the language
-;; correctly.
+;; supports documents using multiple languages.
+;;
+;; If the paragraph is shorter than some user-defined value, none of
+;; the above happens because there is likely not enough text to guess
+;; the language correctly.
+;;
+;; Custom functions can be triggered when a new language is detected
+;; such that users can do things like changing the input method when
+;; needed.
;;
;; The detection algorithm is based on counts of character
;; trigrams. At this time, supported languages are Arabic, Czech,