aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
authorGlenn Morris2011-10-08 14:07:23 -0700
committerGlenn Morris2011-10-08 14:07:23 -0700
commitc8fd3bd078119d43056137316ac16f2f2ccbd6fd (patch)
treecfa18474d8c4df5416a3646d25df26c4db155f1f /src/callint.c
parenta0c52e5d123920dfd673298a4e7b4177b51c7a6e (diff)
downloademacs-c8fd3bd078119d43056137316ac16f2f2ccbd6fd.tar.gz
emacs-c8fd3bd078119d43056137316ac16f2f2ccbd6fd.zip
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
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callint.c b/src/callint.c
index 5cf99495671..61ab4a3963e 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -535,6 +535,8 @@ invoke it. If KEYS is omitted or nil, the return value of
535 message1_nolog ((char *) 0); 535 message1_nolog ((char *) 0);
536 /* Passing args[i] directly stimulates compiler bug */ 536 /* Passing args[i] directly stimulates compiler bug */
537 teml = args[i]; 537 teml = args[i];
538 /* See bug#8479. */
539 if (! CHARACTERP (teml)) error ("Non-character input-event");
538 visargs[i] = Fchar_to_string (teml); 540 visargs[i] = Fchar_to_string (teml);
539 break; 541 break;
540 542