Mercurial > emacs
diff src/blockinput.h @ 101739:6e5d03f673c7
* nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30
XT,w32read_socket changes to ns_read_socket.
* keyboard.c (handle_interrupt): Don't call
quit_throw_to_read_char() under NS.
* blockinput.h: Remove NS-specific code.
| author | Adrian Robert <Adrian.B.Robert@gmail.com> |
|---|---|
| date | Sun, 01 Feb 2009 16:32:00 +0000 |
| parents | ff4b0f0b2fc4 |
| children | 1d1d5d9bd884 |
line wrap: on
line diff
--- a/src/blockinput.h Sun Feb 01 16:25:50 2009 +0000 +++ b/src/blockinput.h Sun Feb 01 16:32:00 2009 +0000 @@ -59,15 +59,6 @@ extern int pending_atimers; -#if defined (HAVE_NS) && !defined (COCOA_EXPERIMENTAL_CTRL_G) -/* NS does not use interrupt-driven input processing (yet), so this is - unneeded and moreover was causing problems. */ -#define BLOCK_INPUT -#define UNBLOCK_INPUT -#define TOTALLY_UNBLOCK_INPUT -#define UNBLOCK_INPUT_TO(LEVEL) - -#else /* Begin critical section. */ #define BLOCK_INPUT (interrupt_input_blocked++) @@ -125,8 +116,6 @@ } \ while (0) -#endif /* defined HAVE_NS && !defined COCOA_EXPERIMENTAL_CTRL_G */ - #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT /* In critical section ? */
