Compare system-type as symbol

As per documentation, system-type holds a symbol denoting the OS type; let's treat it as such.
This commit is contained in:
Sebastian Wiesner 2015-12-12 10:58:12 +01:00
parent dac714cdd6
commit 3aa8e755dd
1 changed files with 3 additions and 3 deletions

View File

@ -57,11 +57,11 @@
(apply 'message msg args)))
(defun spacemacs/system-is-mac ()
(string-equal system-type "darwin"))
(eq system-type 'darwin))
(defun spacemacs/system-is-linux ()
(string-equal system-type "gnu/linux"))
(eq system-type 'gnu/linux))
(defun spacemacs/system-is-mswindows ()
(string-equal system-type "windows-nt"))
(eq system-type 'windows-nt))
(defun spacemacs/jump-in-buffer ()
(interactive)