diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/wpc/constants.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/constants.el b/emacs/.emacs.d/wpc/constants.el index 50b6cf8882de..7ac49c01c627 100644 --- a/emacs/.emacs.d/wpc/constants.el +++ b/emacs/.emacs.d/wpc/constants.el @@ -12,6 +12,7 @@ (require 'prelude) (require 'f) +(require 'maybe) (prelude/assert (f-exists? (getenv "BRIEFCASE"))) @@ -19,6 +20,10 @@ ;; Configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defconst constants/ci? + (maybe/some? (getenv "CI")) + "True when Emacs is running in CI.") + (defconst constants/briefcase (getenv "BRIEFCASE") "Path to my monorepo, which various parts of my configuration rely on.") |