Commit c8fd3bd0 authored by Glenn Morris's avatar Glenn Morris
Browse files

Small callint.c fix.

* src/callint.c (Fcall_interactively): Give a more explicit error for the
'c' case with a non-character input.

Fixes: debbugs:8479
parent a0c52e5d
2011-10-08 Glenn Morris <rgm@gnu.org>
* callint.c (Fcall_interactively): Give a more explicit error for the
'c' case with a non-character input. (Bug#8479)
2011-10-08 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (hscroll_window_tree): Support hscroll in right-to-left
......
......@@ -535,6 +535,8 @@ invoke it. If KEYS is omitted or nil, the return value of
message1_nolog ((char *) 0);
/* Passing args[i] directly stimulates compiler bug */
teml = args[i];
/* See bug#8479. */
if (! CHARACTERP (teml)) error ("Non-character input-event");
visargs[i] = Fchar_to_string (teml);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment