diff options
| author | Dmitry Antipov | 2012-08-06 14:24:26 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-06 14:24:26 +0400 |
| commit | 077288cf3f654776ee44bc9b56954c4e26b10d96 (patch) | |
| tree | 00bbcb4dab9c879efde73a01786977b1c1364f67 /src/xmenu.c | |
| parent | 71688bd7f9169c12ea8be54e084470f19d44ce44 (diff) | |
| download | emacs-077288cf3f654776ee44bc9b56954c4e26b10d96.tar.gz emacs-077288cf3f654776ee44bc9b56954c4e26b10d96.zip | |
Separate read and write access to Lisp_Object slots of struct window.
* window.h (WGET, WSET): New macros similar to AREF and ASET.
* alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c:
* fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c:
* insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m:
* nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c:
* w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c:
Adjust users.
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 17d493b6343..23f96dcebdc 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -985,7 +985,7 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p) | |||
| 985 | if (! menubar_widget) | 985 | if (! menubar_widget) |
| 986 | previous_menu_items_used = 0; | 986 | previous_menu_items_used = 0; |
| 987 | 987 | ||
| 988 | buffer = WVAR (XWINDOW (FRAME_SELECTED_WINDOW (f)), buffer); | 988 | buffer = WGET (XWINDOW (FRAME_SELECTED_WINDOW (f)), buffer); |
| 989 | specbind (Qinhibit_quit, Qt); | 989 | specbind (Qinhibit_quit, Qt); |
| 990 | /* Don't let the debugger step into this code | 990 | /* Don't let the debugger step into this code |
| 991 | because it is not reentrant. */ | 991 | because it is not reentrant. */ |
| @@ -2575,7 +2575,7 @@ xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps, | |||
| 2575 | /* Detect if a dialog or menu has been posted. MSDOS has its own | 2575 | /* Detect if a dialog or menu has been posted. MSDOS has its own |
| 2576 | implementation on msdos.c. */ | 2576 | implementation on msdos.c. */ |
| 2577 | 2577 | ||
| 2578 | int | 2578 | int ATTRIBUTE_CONST |
| 2579 | popup_activated (void) | 2579 | popup_activated (void) |
| 2580 | { | 2580 | { |
| 2581 | return popup_activated_flag; | 2581 | return popup_activated_flag; |