aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidselect.c
diff options
context:
space:
mode:
authorPo Lu2023-05-31 21:08:33 +0800
committerPo Lu2023-05-31 21:08:33 +0800
commit53f7cc2078c64fa169b167faa89f552fbafea18e (patch)
tree5462f3536fe14872fbb6ad949fd9407780d03852 /src/androidselect.c
parent69c4bbc0d694594f43b02e9da5c236f3b9271b1d (diff)
downloademacs-53f7cc2078c64fa169b167faa89f552fbafea18e.tar.gz
emacs-53f7cc2078c64fa169b167faa89f552fbafea18e.zip
Fix build with Lisp_Object type checking
* configure.ac: Pass through `--enable-check-lisp-object-type' on Android. * src/alloc.c (android_make_lisp_symbol): * src/android.c: * src/androidfns.c (android_set_no_focus_on_map) (android_set_no_accept_focus): * src/androidfont.c (androidfont_match, androidfont_open_font): * src/androidselect.c (Fandroid_get_clipboard) (Fandroid_get_clipboard_targets): * src/keyboard.c (make_lispy_event, syms_of_keyboard): * src/sfntfont.c (sfnt_enum_font_1, sfntfont_list_1): * src/textconv.c (really_set_point_and_mark): Fix Lisp_Object and integer screw-ups.
Diffstat (limited to 'src/androidselect.c')
-rw-r--r--src/androidselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/androidselect.c b/src/androidselect.c
index 54c712ca93b..d1f2ebb52f9 100644
--- a/src/androidselect.c
+++ b/src/androidselect.c
@@ -208,7 +208,7 @@ Alternatively, return nil if the clipboard is empty. */)
208 ANDROID_DELETE_LOCAL_REF (bytes); 208 ANDROID_DELETE_LOCAL_REF (bytes);
209 209
210 /* Now decode the resulting string. */ 210 /* Now decode the resulting string. */
211 return code_convert_string_norecord (string, Qutf_8, Qnil); 211 return code_convert_string_norecord (string, Qutf_8, false);
212} 212}
213 213
214DEFUN ("android-clipboard-exists-p", Fandroid_clipboard_exists_p, 214DEFUN ("android-clipboard-exists-p", Fandroid_clipboard_exists_p,
@@ -304,7 +304,7 @@ data type available from the clipboard. */)
304 304
305 /* Decode the string. */ 305 /* Decode the string. */
306 tem = make_unibyte_string ((char *) data, length1); 306 tem = make_unibyte_string ((char *) data, length1);
307 tem = code_convert_string_norecord (tem, Qutf_8, Qnil); 307 tem = code_convert_string_norecord (tem, Qutf_8, false);
308 targets = Fcons (tem, targets); 308 targets = Fcons (tem, targets);
309 309
310 /* Delete the retrieved data. */ 310 /* Delete the retrieved data. */