Skip to content

Instantly share code, notes, and snippets.

@papachan
Last active August 29, 2015 14:16
Show Gist options
  • Save papachan/3aff2c1e6f9b83d6a6a9 to your computer and use it in GitHub Desktop.
Save papachan/3aff2c1e6f9b83d6a6a9 to your computer and use it in GitHub Desktop.
;; check OS type
(cond
((string-equal system-type "windows-nt")
(progn
(message "Windows Worst System operative") )
)
((string-equal system-type "darwin")
(progn
(message "Mac OS")
)
)
((string-equal system-type "gnu/linux")
(progn
(message "Linux") )
)
((string-equal system-type "berkeley-unix")
(progn
(message "Freebsd") )
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment