defvar narf-term-theme

This commit is contained in:
Henrik Lissner 2015-11-02 21:40:50 -05:00
parent d5d1d29d5a
commit aa65b19e1f
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
;;;###autoload
(defun narf/reset-theme ()
(interactive)
(load-theme narf-theme t))
(load-theme (if window-system narf-theme narf-term-theme) t))
;;;###autoload
(defun narf/default-font ()

View File

@ -41,6 +41,7 @@
;;; License: GPLv3
(defconst narf-theme 'narf-dark)
(defconst narf-term-theme 'wombat)
(defconst narf-default-font (font-spec :family "DejaVu Sans Mono" :size 12))
(defconst narf-big-font (font-spec :family "Ubuntu Mono" :size 18))
@ -50,7 +51,7 @@
;; prematurely optimize for faster startup
(let (file-name-handler-alist)
(load (concat user-emacs-directory "init-load-path.el"))
(load-theme narf-theme t)
(load-theme (if window-system narf-theme narf-term-theme) t)
(mapc 'require
`(core ; core/core.el