diff options
| author | Po Lu | 2023-07-10 13:31:57 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-10 13:31:57 +0800 |
| commit | cf2dde4261a311406203a38d6bf1be72b4f9e8a7 (patch) | |
| tree | 904aa8c47417f9c16018ed04bf7ef05bfd446268 /src/android.h | |
| parent | faca007b61422969f5c8888c67a1e356a8c5b64a (diff) | |
| download | emacs-cf2dde4261a311406203a38d6bf1be72b4f9e8a7.tar.gz emacs-cf2dde4261a311406203a38d6bf1be72b4f9e8a7.zip | |
Update Android port
* java/org/gnu/emacs/EmacsService.java (browseUrl): New argument
SEND. Choose from a list of applications that want to share the
URL if true.
* lisp/net/browse-url.el (browse-url-android-share): New user
option.
(browse-url-default-android-browser): Respect said user option.
* src/android.c (android_init_emacs_service)
(android_browse_url): Expose new option.
* src/android.h: Update prototypes.
* src/androidselect.c (Fandroid_browse_url): Likewise.
Diffstat (limited to 'src/android.h')
| -rw-r--r-- | src/android.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android.h b/src/android.h index 33ca379e6ba..2323690fa25 100644 --- a/src/android.h +++ b/src/android.h | |||
| @@ -178,7 +178,7 @@ struct android_battery_state | |||
| 178 | int temperature; | 178 | int temperature; |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | extern Lisp_Object android_browse_url (Lisp_Object); | 181 | extern Lisp_Object android_browse_url (Lisp_Object, Lisp_Object); |
| 182 | extern int android_query_battery (struct android_battery_state *); | 182 | extern int android_query_battery (struct android_battery_state *); |
| 183 | extern void android_display_toast (const char *); | 183 | extern void android_display_toast (const char *); |
| 184 | 184 | ||