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

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

[elpa] externals/jinx 0e6d0e594e 3/3: Update comments


From: ELPA Syncer
Subject: [elpa] externals/jinx 0e6d0e594e 3/3: Update comments
Date: Sun, 22 Dec 2024 07:02:50 -0500 (EST)

branch: externals/jinx
commit 0e6d0e594ec48ad0f7787a544d77ce7c605da359
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Update comments
---
 jinx-mod.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/jinx-mod.c b/jinx-mod.c
index cd0b099c80..53dc42b5b6 100644
--- a/jinx-mod.c
+++ b/jinx-mod.c
@@ -149,8 +149,7 @@ static emacs_value jinx_wordchars(emacs_env* env, ptrdiff_t 
jinx_unused(nargs),
                                   emacs_value args[], void* jinx_unused(data)) 
{
     EnchantDict* dict = env->get_user_ptr(env, args[0]);
     if (dict) {
-        // Enchant older than 2.3.1 sometimes does not return UTF-8
-        // See https://github.com/rrthomas/enchant/blob/master/NEWS
+        // Enchant older than 2.3.1 does not enforce UTF-8 
<gh:rrthomas/enchant#278>
         emacs_value str = jinx_str(env, 
enchant_dict_get_extra_word_characters(dict));
         if (env->non_local_exit_check(env) == emacs_funcall_exit_return)
             return str;
@@ -175,11 +174,12 @@ static emacs_value jinx_suggest(emacs_env* env, ptrdiff_t 
jinx_unused(nargs),
 }
 
 int emacs_module_init(struct emacs_runtime *runtime) {
+    // Require Emacs binary compatibility
     if ((size_t)runtime->size < sizeof (*runtime))
-        return 1; // Require Emacs binary compatibility
+        return 1;
     emacs_env* env = runtime->get_environment(runtime);
     if ((size_t)env->size < sizeof (*env))
-        return 2; // Require Emacs binary compatibility
+        return 2;
     Qt = env->make_global_ref(env, env->intern(env, "t"));
     Qnil = env->make_global_ref(env, env->intern(env, "nil"));
     Qcons = env->make_global_ref(env, env->intern(env, "cons"));



reply via email to

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