diff options
| author | Kenichi Handa | 2012-09-30 23:39:46 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-09-30 23:39:46 +0900 |
| commit | c194970e15b6d6efa07697679a25dfab3aa76442 (patch) | |
| tree | 49aec8be9d2dcc74ad3c81f562e48308d8e27b75 /src/menu.c | |
| parent | 95402d5faa114a311cabfb8c64cf22a93787a066 (diff) | |
| parent | dd946752ab8810149a66a3eff469eb128709972d (diff) | |
| download | emacs-c194970e15b6d6efa07697679a25dfab3aa76442.tar.gz emacs-c194970e15b6d6efa07697679a25dfab3aa76442.zip | |
merge trunk
Diffstat (limited to 'src/menu.c')
| -rw-r--r-- | src/menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/menu.c b/src/menu.c index 7b01d1faefc..5374aa9157a 100644 --- a/src/menu.c +++ b/src/menu.c | |||
| @@ -573,9 +573,9 @@ xmalloc_widget_value (void) | |||
| 573 | { | 573 | { |
| 574 | widget_value *value; | 574 | widget_value *value; |
| 575 | 575 | ||
| 576 | BLOCK_INPUT; | 576 | block_input (); |
| 577 | value = malloc_widget_value (); | 577 | value = malloc_widget_value (); |
| 578 | UNBLOCK_INPUT; | 578 | unblock_input (); |
| 579 | 579 | ||
| 580 | return value; | 580 | return value; |
| 581 | } | 581 | } |
| @@ -602,9 +602,9 @@ free_menubar_widget_value_tree (widget_value *wv) | |||
| 602 | free_menubar_widget_value_tree (wv->next); | 602 | free_menubar_widget_value_tree (wv->next); |
| 603 | wv->next = (widget_value *) 0xDEADBEEF; | 603 | wv->next = (widget_value *) 0xDEADBEEF; |
| 604 | } | 604 | } |
| 605 | BLOCK_INPUT; | 605 | block_input (); |
| 606 | free_widget_value (wv); | 606 | free_widget_value (wv); |
| 607 | UNBLOCK_INPUT; | 607 | unblock_input (); |
| 608 | } | 608 | } |
| 609 | 609 | ||
| 610 | /* Create a tree of widget_value objects | 610 | /* Create a tree of widget_value objects |
| @@ -1313,7 +1313,7 @@ no quit occurs and `x-popup-menu' returns nil. */) | |||
| 1313 | #endif | 1313 | #endif |
| 1314 | 1314 | ||
| 1315 | /* Display them in a menu. */ | 1315 | /* Display them in a menu. */ |
| 1316 | BLOCK_INPUT; | 1316 | block_input (); |
| 1317 | 1317 | ||
| 1318 | /* FIXME: Use a terminal hook! */ | 1318 | /* FIXME: Use a terminal hook! */ |
| 1319 | #if defined HAVE_NTGUI | 1319 | #if defined HAVE_NTGUI |
| @@ -1332,7 +1332,7 @@ no quit occurs and `x-popup-menu' returns nil. */) | |||
| 1332 | last_event_timestamp); | 1332 | last_event_timestamp); |
| 1333 | #endif | 1333 | #endif |
| 1334 | 1334 | ||
| 1335 | UNBLOCK_INPUT; | 1335 | unblock_input (); |
| 1336 | 1336 | ||
| 1337 | #ifdef HAVE_NS | 1337 | #ifdef HAVE_NS |
| 1338 | unbind_to (specpdl_count, Qnil); | 1338 | unbind_to (specpdl_count, Qnil); |