diff options
| author | Kenichi Handa | 2007-09-20 07:51:37 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-09-20 07:51:37 +0000 |
| commit | 43dfda2b4875d46caf87a48d2ee048699ded7d66 (patch) | |
| tree | 6b2a5a043da08e8efa68e8a1af9b02aa90a3e1f2 | |
| parent | 0a4bacdc2b320e9181e5f8a56b1e05dc78d3564a (diff) | |
| download | emacs-43dfda2b4875d46caf87a48d2ee048699ded7d66.tar.gz emacs-43dfda2b4875d46caf87a48d2ee048699ded7d66.zip | |
(where_is_internal_1): If key is a cons, store the copy
in sequence.
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c index bfc81614245..7f329cc9a1a 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -2930,7 +2930,11 @@ where_is_internal_1 (key, binding, args, data) | |||
| 2930 | Faset (sequence, last, make_number (XINT (key) | meta_modifier)); | 2930 | Faset (sequence, last, make_number (XINT (key) | meta_modifier)); |
| 2931 | } | 2931 | } |
| 2932 | else | 2932 | else |
| 2933 | sequence = append_key (this, key); | 2933 | { |
| 2934 | if (CONSP (key)) | ||
| 2935 | key = Fcons (XCAR (key), XCDR (key)); | ||
| 2936 | sequence = append_key (this, key); | ||
| 2937 | } | ||
| 2934 | 2938 | ||
| 2935 | if (!NILP (where_is_cache)) | 2939 | if (!NILP (where_is_cache)) |
| 2936 | { | 2940 | { |