summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 bb261b1..97fa376 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 (and menu-bar-mode (not window-system 'ns))
+(when (and menu-bar-mode (not (eq window-system 'ns)))
   (menu-bar-mode -1))
 (when scroll-bar-mode
   (scroll-bar-mode -1)