changeset 971:8401dcd2d43a

[xemacs-hg @ 2002-08-22 11:34:20 by stephent] stop bogusly reinitting ascii_character
author stephent
date Thu, 22 Aug 2002 11:34:20 +0000
parents 0dc7756a58c4
children 3fd7fb7868b3
files src/event-Xt.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/event-Xt.c	Thu Aug 22 11:31:43 2002 +0000
+++ b/src/event-Xt.c	Thu Aug 22 11:34:20 2002 +0000
@@ -311,9 +311,11 @@
     {
       extern Lisp_Object Vcurrent_global_map;
       extern Lisp_Object Qascii_character;
-      Fput (symbol, Qascii_character, character);
-      if (NILP (Flookup_key (Vcurrent_global_map, symbol, Qnil)))
-	Fdefine_key (Vcurrent_global_map, symbol, Qself_insert_command);
+      if (NILP (Flookup_key (Vcurrent_global_map, symbol, Qnil))) 
+        {
+	  Fput (symbol, Qascii_character, character);
+	  Fdefine_key (Vcurrent_global_map, symbol, Qself_insert_command); 
+        }
     }
 }