Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
/ with-os Public archive

Conditionally execute emacs-lisp based on current operating system

License

Notifications You must be signed in to change notification settings

EricCrosson/with-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

with-os Build Status MELPA Stable MELPA

Conditionally execute emacs-lisp based on current operating system

Install

Coming soon to MELPA

(use-package with-os :ensure t)

Or manually, after downloading into your load-path

(require 'with-os)

Use

(with-os
  :darwin
  (message "Hello from Mac")
  (message "Multiple sexps are accepted")
  :linux
  (message "Hello from GNU/Linux)
  (message "Free as in freedom, baby")
  :windows-nt
  (message "I'm sorry for your loss"))

License

GPL 2 (or higher) © Free Software Foundation, Inc.

About

Conditionally execute emacs-lisp based on current operating system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages