Skip to content

Commit

Permalink
tweak(vars): better OS checking
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 15, 2023
1 parent f0da499 commit 5f194cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/me-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ This list is automatically constructed from the environment variables
(defconst minemacs-cache-dir (concat minemacs-local-dir "cache/"))
(defconst minemacs-loaddefs-file (concat minemacs-core-dir "me-loaddefs.el"))

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

Expand Down

0 comments on commit 5f194cd

Please sign in to comment.