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/nsmenu.m | |
| 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/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 619cd2c1797..f13c513940f 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -193,7 +193,7 @@ ns_update_menubar (struct frame *f, int deep_p, EmacsMenu *submenu) | |||
| 193 | = alloca (previous_menu_items_used * sizeof *previous_items); | 193 | = alloca (previous_menu_items_used * sizeof *previous_items); |
| 194 | 194 | ||
| 195 | /* lisp preliminaries */ | 195 | /* lisp preliminaries */ |
| 196 | buffer = WVAR (XWINDOW (FRAME_SELECTED_WINDOW (f)), buffer); | 196 | buffer = WGET (XWINDOW (FRAME_SELECTED_WINDOW (f)), buffer); |
| 197 | specbind (Qinhibit_quit, Qt); | 197 | specbind (Qinhibit_quit, Qt); |
| 198 | specbind (Qdebug_on_next_call, Qnil); | 198 | specbind (Qdebug_on_next_call, Qnil); |
| 199 | record_unwind_save_match_data (); | 199 | record_unwind_save_match_data (); |