]> git.eshelyaron.com Git - emacs.git/commit
Respect Language & Input preferences under Android
authorPo Lu <luangruo@yahoo.com>
Thu, 14 Dec 2023 05:24:42 +0000 (13:24 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 14 Dec 2023 05:24:42 +0000 (13:24 +0800)
commitde25aaa11a8ef264c6f76841daa7e2a721c60937
tree4908399a7456506b1107d4c66f4c99f9a1532684
parent33aa46fe94f5551d3158a6b2dcb3e81e908bdbd1
Respect Language & Input preferences under Android

* doc/emacs/android.texi (Android Environment):

* doc/emacs/cmdargs.texi (General Variables): Mention the manner
in which the default language environment is selected on
Android.

* lisp/startup.el (normal-top-level): If android and
initial-window-system, call android-locale-for-system-language
for the default locale name.

* lisp/term/android-win.el (android-locale-for-system-language):
New function.

* src/androidfns.c (syms_of_androidfns_for_pdumper): New
function.
(syms_of_androidfns) <Vandroid_os_language>: New variable.
Call syms_of_androidfns_for_pdumper both now and after
loading the dump image.
doc/emacs/android.texi
doc/emacs/cmdargs.texi
lisp/startup.el
lisp/term/android-win.el
src/androidfns.c