Skip to content

Commit 5f194cd

Browse files
committed
tweak(vars): better OS checking
1 parent f0da499 commit 5f194cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/me-vars.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ This list is automatically constructed from the environment variables
101101
(defconst minemacs-cache-dir (concat minemacs-local-dir "cache/"))
102102
(defconst minemacs-loaddefs-file (concat minemacs-core-dir "me-loaddefs.el"))
103103

104-
(defconst os/linux (and (memq system-type '(gnu gnu/linux)) t))
105-
(defconst os/bsd (and (memq system-type '(darwin berkeley-unix gnu/kfreebsd)) t))
104+
(defconst os/linux (eq system-type 'gnu/linux))
105+
(defconst os/bsd (and (memq system-type '(berkeley-unix gnu/kfreebsd)) t))
106106
(defconst os/win (and (memq system-type '(cygwin windows-nt ms-dos)) t))
107107
(defconst os/mac (eq system-type 'darwin))
108108

0 commit comments

Comments
 (0)