aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-10-08 14:07:23 -0700
committerGlenn Morris2011-10-08 14:07:23 -0700
commitc8fd3bd078119d43056137316ac16f2f2ccbd6fd (patch)
treecfa18474d8c4df5416a3646d25df26c4db155f1f
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
-rw-r--r--src/ChangeLog5
-rw-r--r--src/callint.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4409d5e7f60..9cef045c029 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-10-08 Glenn Morris <rgm@gnu.org>
2
3 * callint.c (Fcall_interactively): Give a more explicit error for the
4 'c' case with a non-character input. (Bug#8479)
5
12011-10-08 Eli Zaretskii <eliz@gnu.org> 62011-10-08 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (hscroll_window_tree): Support hscroll in right-to-left 8 * xdisp.c (hscroll_window_tree): Support hscroll in right-to-left
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