diff src/keyboard.c @ 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 a73440d2f146
children 9b1d709095f9
line wrap: on
line diff
--- 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;
 }