]> 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)
committerEshel Yaron <me@eshelyaron.com>
Thu, 14 Dec 2023 12:11:27 +0000 (13:11 +0100)
commit7ebbcc2e73c62701d119ce405f7190c1fdeb3182
tree390b475c9e0489b22747e89deed28a209cde637b
parent6dca95911aa51d55e9fce183f8554837d309910d
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.

(cherry picked from commit de25aaa11a8ef264c6f76841daa7e2a721c60937)
doc/emacs/android.texi
doc/emacs/cmdargs.texi
lisp/startup.el
lisp/term/android-win.el
src/androidfns.c