diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 66fb52061f9..6ea142651bf 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1477,7 +1477,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) | |||
| 1477 | 1477 | ||
| 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 = malloc (allocsize); | 1481 | newmodes = malloc (allocsize); |
| 1482 | if (newmodes) | 1482 | if (newmodes) |
| 1483 | { | 1483 | { |
| @@ -1501,7 +1501,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) | |||
| 1501 | } | 1501 | } |
| 1502 | cmm_maps = newmaps; | 1502 | cmm_maps = newmaps; |
| 1503 | } | 1503 | } |
| 1504 | UNBLOCK_INPUT; | 1504 | unblock_input (); |
| 1505 | 1505 | ||
| 1506 | if (newmodes == NULL || newmaps == NULL) | 1506 | if (newmodes == NULL || newmaps == NULL) |
| 1507 | break; | 1507 | break; |