Make your emacs init file know your machine
My laptop screen is glossy, and so only light theme or default theme is
suitable, while all other machine is okay to run great dark theme. So
today I add following code into my
.emacs file to do this
(when (not (equal "archkicad\n" (shell-command-to-string "uname -n"))) (load-file "~/.emacs.d/color-theme-blackboard.el") (require 'color-theme) (eval-after-load "color-theme" '(progn (color-theme-initialize) (color-theme-blackboard))) )
Here archkicad is the name of my laptop, which will not use any theme.
Entry filed under: Emacs. Tags: .