emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106034: Small callint.c fix.


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106034: Small callint.c fix.
Date: Sat, 08 Oct 2011 14:07:23 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106034
fixes bug(s): http://debbugs.gnu.org/8479
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2011-10-08 14:07:23 -0700
message:
  Small callint.c fix.
  
  * src/callint.c (Fcall_interactively): Give a more explicit error for the
  'c' case with a non-character input.
modified:
  src/ChangeLog
  src/callint.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-10-08 13:03:43 +0000
+++ b/src/ChangeLog     2011-10-08 21:07:23 +0000
@@ -1,3 +1,8 @@
+2011-10-08  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        * xdisp.c (hscroll_window_tree): Support hscroll in right-to-left

=== modified file 'src/callint.c'
--- a/src/callint.c     2011-07-09 07:06:04 +0000
+++ b/src/callint.c     2011-10-08 21:07:23 +0000
@@ -535,6 +535,8 @@
          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;
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]