diff src/keymap.c @ 91037:fd549372af1b

(where_is_internal_1): If key is a cons, store the copy in sequence.
author Kenichi Handa <handa@m17n.org>
date Thu, 20 Sep 2007 07:51:37 +0000
parents 424b655804ca
children bdb3fe0ba9fa
line wrap: on
line diff
--- a/src/keymap.c	Thu Sep 20 07:49:52 2007 +0000
+++ b/src/keymap.c	Thu Sep 20 07:51:37 2007 +0000
@@ -2930,7 +2930,11 @@
       Faset (sequence, last, make_number (XINT (key) | meta_modifier));
     }
   else
-    sequence = append_key (this, key);
+    {
+      if (CONSP (key))
+	key = Fcons (XCAR (key), XCDR (key));
+      sequence = append_key (this, key);
+    }
 
   if (!NILP (where_is_cache))
     {