diff options
| author | Po Lu | 2023-03-13 13:25:02 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-13 13:25:02 +0800 |
| commit | b776feb7f2737fb6b3fca05ae3b786dc67a2a9ae (patch) | |
| tree | bd584cbbcfb65de14c1f612c6bac42731c7d6cb9 /doc | |
| parent | c3524b15aa77b309f325fcb806fe9e9c91c4e99e (diff) | |
| download | emacs-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.texi | 5 |
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 | |||
| 133 | and the name of the file being opened. Then, upon success, the focus | 133 | and the name of the file being opened. Then, upon success, the focus |
| 134 | is transferred to any open Emacs frame. | 134 | is transferred to any open Emacs frame. |
| 135 | 135 | ||
| 136 | However, if Emacs is not running at the time the wrapper is opened, | ||
| 137 | it starts Emacs and gives it the file to open as an argument. Note | ||
| 138 | that if that Emacs in turn does not start the Emacs server, subsequent | ||
| 139 | attempts 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 |
| 138 | system provides access to outside the normal filesystem APIs. Emacs | 143 | system provides access to outside the normal filesystem APIs. Emacs |