aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPo Lu2023-03-13 13:25:02 +0800
committerPo Lu2023-03-13 13:25:02 +0800
commitb776feb7f2737fb6b3fca05ae3b786dc67a2a9ae (patch)
treebd584cbbcfb65de14c1f612c6bac42731c7d6cb9 /doc
parentc3524b15aa77b309f325fcb806fe9e9c91c4e99e (diff)
downloademacs-b776feb7f2737fb6b3fca05ae3b786dc67a2a9ae.tar.gz
emacs-b776feb7f2737fb6b3fca05ae3b786dc67a2a9ae.zip
Update Android port
* doc/emacs/android.texi (Android Startup): Document changes to emacsclient wrapper. * java/org/gnu/emacs/EmacsOpenActivity.java (EmacsOpenActivity) (startEmacsClient): Open EmacsActivity if the service is not running. * java/org/gnu/emacs/EmacsService.java (onCreate): * java/org/gnu/emacs/EmacsThread.java (EmacsThread, run): Pass any file to open to Emacs. * lisp/term/android-win.el (handle-args-function): Implement.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/android.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi
index d50acda7710..15415f12570 100644
--- a/doc/emacs/android.texi
+++ b/doc/emacs/android.texi
@@ -133,6 +133,11 @@ file, it invokes @command{emacsclient} with the options
133and the name of the file being opened. Then, upon success, the focus 133and the name of the file being opened. Then, upon success, the focus
134is transferred to any open Emacs frame. 134is transferred to any open Emacs frame.
135 135
136 However, if Emacs is not running at the time the wrapper is opened,
137it starts Emacs and gives it the file to open as an argument. Note
138that if that Emacs in turn does not start the Emacs server, subsequent
139attempts to open the file with the wrapper will fail.
140
136@cindex /content directory, android 141@cindex /content directory, android
137 Some files are given to Emacs as ``content identifiers'', which the 142 Some files are given to Emacs as ``content identifiers'', which the
138system provides access to outside the normal filesystem APIs. Emacs 143system provides access to outside the normal filesystem APIs. Emacs