changeset 83757:0ce482dc32a6

(Fset_input_mode): Don't call `Fset_quit_char' if QUIT hasn't been provided.
author Romain Francoise <romain@orebokech.com>
date Wed, 29 Aug 2007 16:03:26 +0000
parents 176fd4c8d28a
children 727d03075a75
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 29 15:31:23 2007 +0000
+++ b/src/ChangeLog	Wed Aug 29 16:03:26 2007 +0000
@@ -1,3 +1,8 @@
+2007-08-29  Romain Francoise  <romain@orebokech.com>
+
+	* keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if
+	QUIT hasn't been provided.
+
 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* callproc.c (child_setup, getenv_internal): Use the
--- a/src/keyboard.c	Wed Aug 29 15:31:23 2007 +0000
+++ b/src/keyboard.c	Wed Aug 29 16:03:26 2007 +0000
@@ -11319,7 +11319,8 @@
   Fset_input_interrupt_mode (interrupt);
   Fset_output_flow_control (flow, Qnil);
   Fset_input_meta_mode (meta, Qnil);
-  Fset_quit_char (quit);
+  if (!NILP (quit))
+    Fset_quit_char (quit);
   return Qnil;
 }