]> code.delx.au - gnu-emacs/blobdiff - src/keymap.c
upstream
[gnu-emacs] / src / keymap.c
index 66fb52061f99847615cca7b8aea4282352b616d1..6ea142651bf554e33def6407b3c5844dba50fc33 100644 (file)
@@ -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;