properly check for system-is-mac
This commit is contained in:
parent
98b329e741
commit
80874646fc
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue