+2013-11-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * keyboard.c (Fcommand_error_default_function): Fix pointer signedness
+ glitch. Eliminate 'sz' prefix; Hungarian notation is not helpful here.
+
2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
* keyboard.c (Fcommand_error_default_function): Rename from
(Lisp_Object data, Lisp_Object context, Lisp_Object signal)
{
struct frame *sf = SELECTED_FRAME ();
- const char *sz_context;
CHECK_STRING (context);
- sz_context = XSTRING (context)->data;
/* If the window system or terminal frame hasn't been initialized
yet, or we're not interactive, write the message to stderr and exit. */
|| noninteractive)
{
print_error_message (data, Qexternal_debugging_output,
- sz_context, signal);
+ SSDATA (context), signal);
Fterpri (Qexternal_debugging_output);
Fkill_emacs (make_number (-1));
}
message_log_maybe_newline ();
bitch_at_user ();
- print_error_message (data, Qt, sz_context, signal);
+ print_error_message (data, Qt, SSDATA (context), signal);
}
return Qnil;
}