mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Update Android port
* doc/emacs/android.texi (Android Windowing): Document `android-keyboard-bell-duration'. * java/org/gnu/emacs/EmacsService.java (ringBell): New argument DURATION. * src/android.c (android_init_emacs_service): Adjust correspondingly. (android_bell): Provide the duration of the vibration. * src/androidfns.c (syms_of_androidfns) <android_keyboard_bell_duration>: New variable.
This commit is contained in:
parent
dc2199de3e
commit
7b43d70c73
4 changed files with 31 additions and 6 deletions
|
|
@ -3232,6 +3232,14 @@ restrictions.
|
|||
This option has no effect on Android 9 and earlier. */);
|
||||
android_use_exec_loader = true;
|
||||
|
||||
DEFVAR_INT ("android-keyboard-bell-duration",
|
||||
android_keyboard_bell_duration,
|
||||
doc: /* Number of milliseconds to vibrate after ringing the keyboard bell.
|
||||
The keyboard bell under Android systems takes the form of a vibrating
|
||||
element that is activated for a given number of milliseconds upon the
|
||||
bell being rung. */);
|
||||
android_keyboard_bell_duration = 50;
|
||||
|
||||
/* Functions defined. */
|
||||
defsubr (&Sx_create_frame);
|
||||
defsubr (&Sxw_color_defined_p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue