diff options
| author | Joakim Verona | 2013-03-26 16:14:01 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-26 16:14:01 +0100 |
| commit | 48c226c2c2592e31a47559bd1689fcc4354d9479 (patch) | |
| tree | 2f79cf5a16930fbd09d965be98b6d145c9984eb6 /src/keymap.c | |
| parent | e11705b616777a8a72363b2037d989987630e863 (diff) | |
| parent | 9536ec028c24fbedf617b67e98a108504e5b1e73 (diff) | |
| download | emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.tar.gz emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.zip | |
auto upstream
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 | ||