mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Make tab bar option visible in the menu bar on NS
* lisp/menu-bar.el (menu-bar-showhide-menu): Make `showhide-tab-bar' visible on NS as well.
This commit is contained in:
parent
897a101cd3
commit
8887213dcf
1 changed files with 7 additions and 8 deletions
|
|
@ -1347,14 +1347,13 @@ mail status in mode line"))
|
|||
(frame-parameter (menu-bar-frame-for-menubar)
|
||||
'menu-bar-lines)))))
|
||||
|
||||
(unless (featurep 'ns)
|
||||
(bindings--define-key menu [showhide-tab-bar]
|
||||
'(menu-item "Tab Bar" toggle-tab-bar-mode-from-frame
|
||||
:help "Turn tab bar on/off"
|
||||
:button
|
||||
(:toggle . (menu-bar-positive-p
|
||||
(frame-parameter (menu-bar-frame-for-menubar)
|
||||
'tab-bar-lines))))))
|
||||
(bindings--define-key menu [showhide-tab-bar]
|
||||
'(menu-item "Tab Bar" toggle-tab-bar-mode-from-frame
|
||||
:help "Turn tab bar on/off"
|
||||
:button
|
||||
(:toggle . (menu-bar-positive-p
|
||||
(frame-parameter (menu-bar-frame-for-menubar)
|
||||
'tab-bar-lines)))))
|
||||
|
||||
(if (and (boundp 'menu-bar-showhide-tool-bar-menu)
|
||||
(keymapp menu-bar-showhide-tool-bar-menu))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue