mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS".
This commit is contained in:
parent
2e6c8532c7
commit
94da839793
@ -1,5 +1,8 @@
|
||||
2010-07-23 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS";
|
||||
it is called only from NS code.
|
||||
|
||||
* w32term.c (my_set_focus): #ifdef away; it is called only from
|
||||
"#ifdef 0" code.
|
||||
|
||||
|
@ -133,12 +133,14 @@ discard_menu_items (void)
|
||||
xassert (NILP (menu_items_inuse));
|
||||
}
|
||||
|
||||
#ifdef HAVE_NS
|
||||
static Lisp_Object
|
||||
cleanup_popup_menu (Lisp_Object arg)
|
||||
{
|
||||
discard_menu_items ();
|
||||
return Qnil;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* This undoes save_menu_items, and it is called by the specpdl unwind
|
||||
mechanism. */
|
||||
|
Loading…
Reference in New Issue
Block a user