changeset 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 f5e7e4e0fa66
children 75646c5c257f
files src/keymap.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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))
     {