X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/72c20d0be811966afccdb7551d3341d10d3be9a9..5508f06f3283b4129cd70340a58ba608cc810d4e:/src/nsmenu.m diff --git a/src/nsmenu.m b/src/nsmenu.m index 3cb61e50f7..10dfe8aac1 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1,12 +1,12 @@ /* NeXT/Open/GNUstep and MacOSX Cocoa menu and toolbar module. - Copyright (C) 2007-2015 Free Software Foundation, Inc. + Copyright (C) 2007-2016 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -136,12 +136,6 @@ ns_update_menubar (struct frame *f, bool deep_p, EmacsMenu *submenu) menu = [[EmacsMenu alloc] initWithTitle: ns_app_name]; needsSet = YES; } - else - { /* close up anything on there */ - id attMenu = [menu attachedMenu]; - if (attMenu != nil) - [attMenu close]; - } #if NSMENUPROFILE ftime (&tb);