diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 00eefb375ef..110c8f43729 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -611,7 +611,8 @@ map_keymap_internal (Lisp_Object map, | |||
| 611 | } | 611 | } |
| 612 | else if (CHAR_TABLE_P (binding)) | 612 | else if (CHAR_TABLE_P (binding)) |
| 613 | map_char_table (map_keymap_char_table_item, Qnil, binding, | 613 | map_char_table (map_keymap_char_table_item, Qnil, binding, |
| 614 | make_save_value ("ppo", fun, data, args)); | 614 | make_save_value (SAVE_TYPE_PTR_PTR_OBJ, |
| 615 | fun, data, args)); | ||
| 615 | } | 616 | } |
| 616 | UNGCPRO; | 617 | UNGCPRO; |
| 617 | return tail; | 618 | return tail; |
| @@ -2062,7 +2063,7 @@ For an approximate inverse of this, see `kbd'. */) | |||
| 2062 | size += XINT (Flength (prefix)); | 2063 | size += XINT (Flength (prefix)); |
| 2063 | 2064 | ||
| 2064 | /* This has one extra element at the end that we don't pass to Fconcat. */ | 2065 | /* This has one extra element at the end that we don't pass to Fconcat. */ |
| 2065 | if (min (PTRDIFF_MAX, SIZE_MAX) / word_size / 4 < size) | 2066 | if (size > min (PTRDIFF_MAX, SIZE_MAX) / word_size / 4) |
| 2066 | memory_full (SIZE_MAX); | 2067 | memory_full (SIZE_MAX); |
| 2067 | SAFE_ALLOCA_LISP (args, size * 4); | 2068 | SAFE_ALLOCA_LISP (args, size * 4); |
| 2068 | 2069 | ||