mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 17:10:51 -08:00
Use FSET.
* nsmenu.m (ns_update_menubar): Use FSET. * nsterm.m (ns_frame_rehighlight): Use FSET.
This commit is contained in:
parent
16ac6eb63b
commit
054e16686c
3 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012-08-06 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (ns_frame_rehighlight): Use FSET.
|
||||
|
||||
* nsmenu.m (ns_update_menubar): Use FSET.
|
||||
|
||||
2012-08-06 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
Separate read and write access to Lisp_Object slots of Lisp_Process.
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ ns_update_menubar (struct frame *f, int deep_p, EmacsMenu *submenu)
|
|||
if (! NILP (Vlucid_menu_bar_dirty_flag))
|
||||
call0 (Qrecompute_lucid_menubar);
|
||||
safe_run_hooks (Qmenu_bar_update_hook);
|
||||
FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));
|
||||
FSET (f, menu_bar_items, menu_bar_items (FRAME_MENU_BAR_ITEMS (f)));
|
||||
|
||||
/* Now ready to go */
|
||||
items = FRAME_MENU_BAR_ITEMS (f);
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,7 @@ ns_frame_rehighlight (struct frame *frame)
|
|||
: dpyinfo->x_focus_frame);
|
||||
if (!FRAME_LIVE_P (dpyinfo->x_highlight_frame))
|
||||
{
|
||||
FRAME_FOCUS_FRAME (dpyinfo->x_focus_frame) = Qnil;
|
||||
FSET (dpyinfo->x_focus_frame, focus_frame, Qnil);
|
||||
dpyinfo->x_highlight_frame = dpyinfo->x_focus_frame;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue