summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-07-11 18:23:25 +0100
committerAlan Pearce2014-07-11 18:23:25 +0100
commit5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280 (patch)
tree8e6bdc20c0ad8feb948b21b1fd04196639a1371a /tag-emacs
parente4fdee1afd00384a7a954b287706cccab0e1d2b6 (diff)
downloadnixfiles-5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280.tar.lz
nixfiles-5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280.tar.zst
nixfiles-5e96cf05f8fcfa1d8ae0a31f754f7a393cc48280.zip
Emacs: Enable menu-bar on OSX
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index de0707d2..bb261b1e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1097,7 +1097,7 @@
       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)