Mercurial > emacs
diff lisp/files-x.el @ 111861:869f03cdb254
Fix bug #1077 with popping new frames from a minibuffer-only frame.
menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
New functions.
(menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
them instead of `nil' and `>', respectively.
(menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
instead of `nil'.
(toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
and menu-bar-positive-p instead of `nil' and `>', respectively.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 09 Dec 2010 21:07:53 +0200 |
parents | 280c8ae2476d |
children | 417b1e4d63cd |