X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/ba13e6168a07a085c0ca8e67c91640b84ee0c1fd..cb5b02667a8dcfc00d990103b2fb3236259bd627:/src/keymap.c diff --git a/src/keymap.c b/src/keymap.c index 66fb52061f..6ea142651b 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1477,7 +1477,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) /* Use malloc here. See the comment above this function. Avoid realloc here; it causes spurious traps on GNU/Linux [KFS] */ - BLOCK_INPUT; + block_input (); newmodes = malloc (allocsize); if (newmodes) { @@ -1501,7 +1501,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr) } cmm_maps = newmaps; } - UNBLOCK_INPUT; + unblock_input (); if (newmodes == NULL || newmaps == NULL) break;