Browse Source

added identifier for emacs in gui

master
Marc 4 years ago
parent
commit
405a1ef736
1 changed files with 4 additions and 0 deletions
  1. 4
      init.org

4
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?")

Loading…
Cancel
Save