]> git.eshelyaron.com Git - emacs.git/commit
Guarantee files are auto-saved when Emacs is terminated by Android
authorPo Lu <luangruo@yahoo.com>
Thu, 9 Nov 2023 02:12:24 +0000 (10:12 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 9 Nov 2023 02:12:24 +0000 (10:12 +0800)
commit21f36705266934d5a351d4d7f360734540132139
treec67ff837f417bec1663df6700fe9b2b5ce330cc9
parent06e4ebc81a44c709b08ce72c746629c6c77e6f6e
Guarantee files are auto-saved when Emacs is terminated by Android

* java/org/gnu/emacs/EmacsNative.java (shutDownEmacs):

* java/org/gnu/emacs/EmacsService.java (onDestroy): New
function.  When invoked, call shut_down_emacs and await its
completion.

* src/android.c (android_shut_down_emacs, shutDownEmacs): New
functions.
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsService.java
src/android.c