1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

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
This commit is contained in:
Glenn Morris 2011-10-08 14:07:23 -07:00
parent a0c52e5d12
commit c8fd3bd078
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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;