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:
parent
dac714cdd6
commit
3aa8e755dd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue