From ca792273cc9d473e50eec9f64fc8d0046f08b7fc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Nov 2015 23:45:08 +0000 Subject: Fixed font fiasco --- .emacs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index cead1f1..c057f91 100644 --- a/.emacs +++ b/.emacs @@ -42,25 +42,17 @@ Return a list of installed packages or nil for every skipped package." (require 'evil) (evil-mode 1) -(defun customize-faces () - (custom-set-faces - '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold)))) - '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold)))) - ) - ) - (require 'color-theme) (color-theme-initialize) -(customize-faces) + (if (daemonp) (add-hook 'after-make-frame-functions (lambda (frame) (with-selected-frame frame (progn - (color-theme-ld-dark) - (customize-faces) + (color-theme-dark-laptop) )))) - (color-theme-ld-dark) + (color-theme-dark-laptop) ) (global-undo-tree-mode) -- cgit v1.2.3