properly check for system-is-mac

This commit is contained in:
d12frosted 2016-03-16 15:09:55 +02:00 committed by syl20bnr
parent 98b329e741
commit 80874646fc

View file

@ -148,7 +148,7 @@
(defun spacemacs//removes-gui-elements ()
"Remove the menu bar, tool bar and scroll bars."
;; removes the GUI elements
(unless (eq window-system 'mac)
(unless (spacemacs/system-is-mac)
(when (and (fboundp 'menu-bar-mode) (not (eq menu-bar-mode -1)))
(menu-bar-mode -1)))
(when (and (fboundp 'scroll-bar-mode) (not (eq scroll-bar-mode -1)))