From 405a1ef73673a4672dd85aaf7e66796bb26ce528 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 26 Dec 2019 10:53:56 +0000 Subject: [PATCH] added identifier for emacs in gui --- init.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.org b/init.org index 54e2aee..269f6e6 100644 --- a/init.org +++ b/init.org @@ -89,6 +89,10 @@ Emacs variables are dynamically scoped. That's unusual for most languages, so di * Default settings #+BEGIN_SRC emacs-lisp +(defconst *sys/gui* + (display-graphic-p) + "Is emacs running in a gui?") + (defconst *sys/linux* (string-equal system-type 'gnu/linux) "Is the system running Linux?")