all repos — nixfiles @ 5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280

System and user configuration, managed by nix and home-manager

Emacs: Enable menu-bar on OSX
Alan Pearce alan@alanpearce.co.uk
Fri, 11 Jul 2014 18:23:25 +0100
commit

5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280

parent

e4fdee1afd00384a7a954b287706cccab0e1d2b6

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1097,7 +1097,7 @@ scroll-preserve-screen-position nil       mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control)))
       split-height-threshold 100)
 
-(when menu-bar-mode
+(when (and menu-bar-mode (not window-system 'ns))
   (menu-bar-mode -1))
 (when scroll-bar-mode
   (scroll-bar-mode -1)