HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a4bacd
)
(where_is_internal_1): If key is a cons, store the copy
author
Kenichi Handa
<handa@m17n.org>
Thu, 20 Sep 2007 07:51:37 +0000
(07:51 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 20 Sep 2007 07:51:37 +0000
(07:51 +0000)
in sequence.
src/keymap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index
bfc8161
..
7f329cc
100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-2930,7
+2930,11
@@
where_is_internal_1 (key, binding, args, data)
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))
{