aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32select.c')
-rw-r--r--src/w32select.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32select.c b/src/w32select.c
index 11c68c9c617..061f5a4a0a8 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -391,7 +391,7 @@ run_protected (Lisp_Object (*code) (Lisp_Object), Lisp_Object arg)
391 extern int waiting_for_input; /* from keyboard.c */ 391 extern int waiting_for_input; /* from keyboard.c */
392 int owfi; 392 int owfi;
393 393
394 BLOCK_INPUT; 394 block_input ();
395 395
396 /* Fsignal calls emacs_abort () if it sees that waiting_for_input is 396 /* Fsignal calls emacs_abort () if it sees that waiting_for_input is
397 set. */ 397 set. */
@@ -402,7 +402,7 @@ run_protected (Lisp_Object (*code) (Lisp_Object), Lisp_Object arg)
402 402
403 waiting_for_input = owfi; 403 waiting_for_input = owfi;
404 404
405 UNBLOCK_INPUT; 405 unblock_input ();
406} 406}
407 407
408static Lisp_Object 408static Lisp_Object
@@ -694,7 +694,7 @@ DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data,
694 current_num_nls = 0; 694 current_num_nls = 0;
695 current_requires_encoding = 0; 695 current_requires_encoding = 0;
696 696
697 BLOCK_INPUT; 697 block_input ();
698 698
699 /* Check for non-ASCII characters. While we are at it, count the 699 /* Check for non-ASCII characters. While we are at it, count the
700 number of LFs, so we know how many CRs we will have to add later 700 number of LFs, so we know how many CRs we will have to add later
@@ -782,7 +782,7 @@ DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data,
782 current_coding_system = Qnil; 782 current_coding_system = Qnil;
783 783
784 done: 784 done:
785 UNBLOCK_INPUT; 785 unblock_input ();
786 786
787 return (ok ? string : Qnil); 787 return (ok ? string : Qnil);
788} 788}
@@ -810,7 +810,7 @@ DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data,
810 setup_config (); 810 setup_config ();
811 actual_clipboard_type = cfg_clipboard_type; 811 actual_clipboard_type = cfg_clipboard_type;
812 812
813 BLOCK_INPUT; 813 block_input ();
814 814
815 if (!OpenClipboard (clipboard_owner)) 815 if (!OpenClipboard (clipboard_owner))
816 goto done; 816 goto done;
@@ -1000,7 +1000,7 @@ DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data,
1000 CloseClipboard (); 1000 CloseClipboard ();
1001 1001
1002 done: 1002 done:
1003 UNBLOCK_INPUT; 1003 unblock_input ();
1004 1004
1005 return (ret); 1005 return (ret);
1006} 1006}