diff options
author | Alp Aker <alp.tekin.aker@gmail.com> | 2012-08-01 16:15:30 -0400 |
---|---|---|
committer | Alp Aker <alp.tekin.aker@gmail.com> | 2012-08-01 16:15:30 -0400 |
commit | 947b2afddc9f54a999125aa7e8c9a705ecb51e18 (patch) | |
tree | f68b8a8849bd112564e5ffc762471e385c82c60e /src/nsmenu.m | |
parent | 8e7046c395d80058a8a59525a965ff5c71c76cbc (diff) | |
download | emacs-947b2afddc9f54a999125aa7e8c9a705ecb51e18.tar.gz |
* nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar)
(EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
(EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114)
* nsfns.m (ns_set_name_as_filename): Likewise.
* nsmenu.m (ns_update_menubar): Likewise.
* nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
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 86ffeec2952..9f1a43a08f2 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -193,7 +193,7 @@ ns_update_menubar (struct frame *f, int deep_p, EmacsMenu *submenu) = alloca (previous_menu_items_used * sizeof *previous_items); /* lisp preliminaries */ - buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->buffer; + buffer = WVAR (XWINDOW (FRAME_SELECTED_WINDOW (f)), buffer); specbind (Qinhibit_quit, Qt); specbind (Qdebug_on_next_call, Qnil); record_unwind_save_match_data (); |