system-type is a symbol, not a string, so string=' will never evaluate to `t'

This commit is contained in:
Martin Karlsson 2011-10-19 23:16:44 +03:00
parent 26304f6c9a
commit b4e084fa56

View file

@ -66,7 +66,7 @@ instead of Emacs's default theme."
(tool-bar-mode -1) (tool-bar-mode -1)
;; the menu bar is mostly useless as well ;; the menu bar is mostly useless as well
;; but removing it under OS X doesn't make much sense ;; but removing it under OS X doesn't make much sense
(unless (string= system-type "darwin") (unless (eq system-type 'darwin)
(menu-bar-mode -1)) (menu-bar-mode -1))
;; the blinking cursor is nothing, but an annoyance ;; the blinking cursor is nothing, but an annoyance
(blink-cursor-mode -1) (blink-cursor-mode -1)