Mercurial > emacs
diff src/menu.c @ 109496:bf6283e6c0a3
* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS".
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 23 Jul 2010 12:32:02 +0200 |
parents | 8cfee7d2955f |
children | c4c8e4a16194 |
line wrap: on
line diff
--- a/src/menu.c Fri Jul 23 12:09:27 2010 +0200 +++ b/src/menu.c Fri Jul 23 12:32:02 2010 +0200 @@ -133,12 +133,14 @@ 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. */