diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index db4d5d12ee4..234740721ae 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1478,7 +1478,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) | |||
| 1478 | /* Use malloc here. See the comment above this function. | 1478 | /* Use malloc here. See the comment above this function. |
| 1479 | Avoid realloc here; it causes spurious traps on GNU/Linux [KFS] */ | 1479 | Avoid realloc here; it causes spurious traps on GNU/Linux [KFS] */ |
| 1480 | BLOCK_INPUT; | 1480 | BLOCK_INPUT; |
| 1481 | newmodes = (Lisp_Object *) malloc (allocsize); | 1481 | newmodes = malloc (allocsize); |
| 1482 | if (newmodes) | 1482 | if (newmodes) |
| 1483 | { | 1483 | { |
| 1484 | if (cmm_modes) | 1484 | if (cmm_modes) |
| @@ -1490,7 +1490,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) | |||
| 1490 | cmm_modes = newmodes; | 1490 | cmm_modes = newmodes; |
| 1491 | } | 1491 | } |
| 1492 | 1492 | ||
| 1493 | newmaps = (Lisp_Object *) malloc (allocsize); | 1493 | newmaps = malloc (allocsize); |
| 1494 | if (newmaps) | 1494 | if (newmaps) |
| 1495 | { | 1495 | { |
| 1496 | if (cmm_maps) | 1496 | if (cmm_maps) |
| @@ -2923,7 +2923,7 @@ You type Translation\n\ | |||
| 2923 | if (!SYMBOLP (modes[i])) | 2923 | if (!SYMBOLP (modes[i])) |
| 2924 | abort (); | 2924 | abort (); |
| 2925 | 2925 | ||
| 2926 | p = title = (char *) alloca (42 + SCHARS (SYMBOL_NAME (modes[i]))); | 2926 | p = title = alloca (42 + SCHARS (SYMBOL_NAME (modes[i]))); |
| 2927 | *p++ = '\f'; | 2927 | *p++ = '\f'; |
| 2928 | *p++ = '\n'; | 2928 | *p++ = '\n'; |
| 2929 | *p++ = '`'; | 2929 | *p++ = '`'; |