diff options
| author | Daniel Colascione | 2012-10-07 14:31:58 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-10-07 14:31:58 -0800 |
| commit | 36a305a723c63fd345be65c536c52fe9765c14be (patch) | |
| tree | fb89d9e103552863214c60297a65320917109357 /src/menu.c | |
| parent | 2ab329f3b5d52a39f0a45c3d9c129f1c19560142 (diff) | |
| parent | 795b1482a9e314cda32d62ac2988f573d359366e (diff) | |
| download | emacs-36a305a723c63fd345be65c536c52fe9765c14be.tar.gz emacs-36a305a723c63fd345be65c536c52fe9765c14be.zip | |
Merge from 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 31b96cf4405..835267b2f0c 100644 --- a/src/menu.c +++ b/src/menu.c | |||
| @@ -577,9 +577,9 @@ xmalloc_widget_value (void) | |||
| 577 | { | 577 | { |
| 578 | widget_value *value; | 578 | widget_value *value; |
| 579 | 579 | ||
| 580 | BLOCK_INPUT; | 580 | block_input (); |
| 581 | value = malloc_widget_value (); | 581 | value = malloc_widget_value (); |
| 582 | UNBLOCK_INPUT; | 582 | unblock_input (); |
| 583 | 583 | ||
| 584 | return value; | 584 | return value; |
| 585 | } | 585 | } |
| @@ -606,9 +606,9 @@ free_menubar_widget_value_tree (widget_value *wv) | |||
| 606 | free_menubar_widget_value_tree (wv->next); | 606 | free_menubar_widget_value_tree (wv->next); |
| 607 | wv->next = (widget_value *) 0xDEADBEEF; | 607 | wv->next = (widget_value *) 0xDEADBEEF; |
| 608 | } | 608 | } |
| 609 | BLOCK_INPUT; | 609 | block_input (); |
| 610 | free_widget_value (wv); | 610 | free_widget_value (wv); |
| 611 | UNBLOCK_INPUT; | 611 | unblock_input (); |
| 612 | } | 612 | } |
| 613 | 613 | ||
| 614 | /* Create a tree of widget_value objects | 614 | /* Create a tree of widget_value objects |
| @@ -1317,7 +1317,7 @@ no quit occurs and `x-popup-menu' returns nil. */) | |||
| 1317 | #endif | 1317 | #endif |
| 1318 | 1318 | ||
| 1319 | /* Display them in a menu. */ | 1319 | /* Display them in a menu. */ |
| 1320 | BLOCK_INPUT; | 1320 | block_input (); |
| 1321 | 1321 | ||
| 1322 | /* FIXME: Use a terminal hook! */ | 1322 | /* FIXME: Use a terminal hook! */ |
| 1323 | #if defined HAVE_NTGUI | 1323 | #if defined HAVE_NTGUI |
| @@ -1336,7 +1336,7 @@ no quit occurs and `x-popup-menu' returns nil. */) | |||
| 1336 | last_event_timestamp); | 1336 | last_event_timestamp); |
| 1337 | #endif | 1337 | #endif |
| 1338 | 1338 | ||
| 1339 | UNBLOCK_INPUT; | 1339 | unblock_input (); |
| 1340 | 1340 | ||
| 1341 | #ifdef HAVE_NS | 1341 | #ifdef HAVE_NS |
| 1342 | unbind_to (specpdl_count, Qnil); | 1342 | unbind_to (specpdl_count, Qnil); |