passthrough="$passthrough --with-pop=$with_pop"
passthrough="$passthrough --with-harfbuzz=$with_harfbuzz"
+ # Now pass through some checking options.
+ emacs_val="--enable-check-lisp-object-type=$enable_check_lisp_object_type"
+ passthrough="$passthrough $emacs_val"
+
AS_IF([test "x$with_mailutils" = "xyes"], [emacs_use_mailutils=yes])
AC_SUBST([emacs_use_mailutils])
android_make_lisp_symbol (struct Lisp_Symbol *sym)
{
intptr_t symoffset;
- Lisp_Object a;
symoffset = (intptr_t) sym;
INT_SUBTRACT_WRAPV (symoffset, (intptr_t) &lispsym,
&symoffset);
- a = TAG_PTR (Lisp_Symbol, symoffset);
- return a;
+ {
+ Lisp_Object a = TAG_PTR (Lisp_Symbol, symoffset);
+ return a;
+ }
}
#endif
}
}
-/* Like android_exception_check_one, except it takes more than one
- local reference argument. */
+/* Like android_exception_check_1, except it takes more than one local
+ reference argument. */
void
android_exception_check_2 (jobject object, jobject object1)
if (!EQ (new_value, old_value))
{
android_set_dont_focus_on_map (FRAME_ANDROID_WINDOW (f),
- new_value);
+ !NILP (new_value));
FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value);
}
}
if (!EQ (new_value, old_value))
{
android_set_dont_accept_focus (FRAME_ANDROID_WINDOW (f),
- new_value);
+ !NILP (new_value));
FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value);
}
}
androidfont_from_java (result, entity);
info->object = (*android_java_env)->NewGlobalRef (android_java_env,
(jobject) result);
- android_exception_check_2 (entity, result);
+ android_exception_check_1 (result);
ANDROID_DELETE_LOCAL_REF (result);
return entity;
pixel_size = 12;
}
- __android_log_print (ANDROID_LOG_DEBUG, __func__,
- "opening font entity %"pI"x:%d",
- (EMACS_INT) font_entity, pixel_size);
-
entity = (struct androidfont_entity *) XFONT_ENTITY (font_entity);
block_input ();
ANDROID_DELETE_LOCAL_REF (bytes);
/* Now decode the resulting string. */
- return code_convert_string_norecord (string, Qutf_8, Qnil);
+ return code_convert_string_norecord (string, Qutf_8, false);
}
DEFUN ("android-clipboard-exists-p", Fandroid_clipboard_exists_p,
/* Decode the string. */
tem = make_unibyte_string ((char *) data, length1);
- tem = code_convert_string_norecord (tem, Qutf_8, Qnil);
+ tem = code_convert_string_norecord (tem, Qutf_8, false);
targets = Fcons (tem, targets);
/* Delete the retrieved data. */
menu bar event. */
menu_bar_touch_id = Qnil;
- if (f->menu_bar_window)
+ if (!NILP (f->menu_bar_window))
{
x_y_to_hpos_vpos (XWINDOW (f->menu_bar_window), XFIXNUM (x),
XFIXNUM (y), &column, &row, NULL, NULL,
is called with one argument, the string that was selected. */);
Vpost_select_region_hook = Qnil;
- DEFVAR_LISP ("disable-inhibit-text-conversion",
+ DEFVAR_BOOL ("disable-inhibit-text-conversion",
disable_inhibit_text_conversion,
doc: /* Don't disable text conversion inside `read-key-sequence'.
If non-nil, text conversion will continue to happen after a prefix
key has been read inside `read-key-sequence'. */);
- disable_inhibit_text_conversion = false;
+ disable_inhibit_text_conversion = false;
pdumper_do_now_and_after_load (syms_of_keyboard_for_pdumper);
}
style1 = sfnt_decode_instance_name (&fvar->instance[i],
name);
- if (!style1)
+ if (NILP (style1))
continue;
/* Now parse the style. */
if (STRINGP (XCAR (XCAR (tail)))
&& STRINGP (XCDR (XCAR (tail)))
- && Fstring_equal (SYMBOL_NAME (tem),
- XCAR (XCAR (tail))))
+ && !NILP (Fstring_equal (SYMBOL_NAME (tem),
+ XCAR (XCAR (tail)))))
{
/* Special family found. */
tem = Fintern (XCDR (XCAR (tail)), Qnil);
/* Set the point. */
Fgoto_char (make_fixnum (point));
- if (mark == point && BVAR (current_buffer, mark_active))
+ if (mark == point
+ && !NILP (BVAR (current_buffer, mark_active)))
call0 (Qdeactivate_mark);
else
call1 (Qpush_mark, make_fixnum (mark));