emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/blockinput.h


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/blockinput.h
Date: Sun, 06 Mar 2005 10:59:46 -0500

Index: emacs/src/blockinput.h
diff -c emacs/src/blockinput.h:1.14 emacs/src/blockinput.h:1.15
*** emacs/src/blockinput.h:1.14 Wed Jun 16 15:04:17 2004
--- emacs/src/blockinput.h      Sun Mar  6 15:59:44 2005
***************
*** 94,100 ****
      }                                         \
    while (0)
  
! #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0)
  #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
  
  /* In critical section ? */
--- 94,123 ----
      }                                         \
    while (0)
  
! /* Undo any number of BLOCK_INPUT calls,
!    and also reinvoke any pending signal.  */
! 
! #define TOTALLY_UNBLOCK_INPUT                 \
!   if (interrupt_input_blocked != 0)           \
!     {                                         \
!       interrupt_input_blocked = 1;            \
!       UNBLOCK_INPUT;                          \
!     }                                         \
!   else
! 
! /* Undo any number of BLOCK_INPUT calls down to level LEVEL,
!    and also (if the level is now 0) reinvoke any pending signal.  */
! 
! #define UNBLOCK_INPUT_TO(LEVEL)                               \
!   do                                                  \
!     {                                                 \
!       int oldlevel = interrupt_input_blocked;         \
!       interrupt_input_blocked = (LEVEL) + 1;          \
!       if (interrupt_input_blocked != oldlevel + 1)    \
!         UNBLOCK_INPUT;                                        \
!     }                                                 \
!   while (0)
! 
  #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
  
  /* In critical section ? */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]