Mercurial > emacs
changeset 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 | 76fd88f6c790 |
children | 30a3c60d6de9 |
files | src/alloca.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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 }