Mercurial > emacs
diff src/alloca.c @ 50916:e6d6dc2aa074
Test DO_BLOCK_INPUT rather than `emacs'
for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 09 May 2003 13:54:14 +0000 |
| parents | 6cea9f00471e |
| children | 34f0347e6e45 |
line wrap: on
line diff
--- a/src/alloca.c Fri May 09 13:21:05 2003 +0000 +++ b/src/alloca.c Fri May 09 13:54:14 2003 +0000 @@ -32,7 +32,7 @@ # include <stdlib.h> #endif -#ifdef emacs +#ifdef DO_BLOCK_INPUT # include "lisp.h" # include "blockinput.h" #endif @@ -196,7 +196,7 @@ { register header *hp; /* Traverses linked list. */ -# ifdef emacs +# ifdef DO_BLOCK_INPUT BLOCK_INPUT; # endif @@ -215,7 +215,7 @@ last_alloca_header = hp; /* -> last valid storage. */ -# ifdef emacs +# ifdef DO_BLOCK_INPUT UNBLOCK_INPUT; # endif }
