emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/guess-language c0a9cd3 079/101: Mention custom function


From: Stefan Monnier
Subject: [elpa] externals/guess-language c0a9cd3 079/101: Mention custom functions in commentary.
Date: Sat, 23 Feb 2019 10:34:47 -0500 (EST)

branch: externals/guess-language
commit c0a9cd33d8233e2e0cd62b28fdb7128945b3de99
Author: Titus von der Malsburg <address@hidden>
Commit: Titus von der Malsburg <address@hidden>

    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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]