Skip to content

Commit d8c0a99

Browse files
authored
Initialize first_run to ensure setup() is called (#229)
1 parent fd43407 commit d8c0a99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ emacs_module_init (struct emacs_runtime *ert)
462462
free(rime);
463463
return 0;
464464
}
465+
rime->first_run = true;
465466

466467
/* Global emacs_value initialize */
467468
nil = REF("nil");

0 commit comments

Comments
 (0)