diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-05 23:45:08 +0000 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-05 23:45:08 +0000 |
| commit | ca792273cc9d473e50eec9f64fc8d0046f08b7fc (patch) | |
| tree | 421ba94703f1c1059f5891e5d9ec10218ea5b8bd | |
| parent | 2033ba1e4ab7c8ebc91430e1db52977d8f08ebcb (diff) | |
| download | dotfiles-ca792273cc9d473e50eec9f64fc8d0046f08b7fc.tar dotfiles-ca792273cc9d473e50eec9f64fc8d0046f08b7fc.tar.gz dotfiles-ca792273cc9d473e50eec9f64fc8d0046f08b7fc.tar.bz2 dotfiles-ca792273cc9d473e50eec9f64fc8d0046f08b7fc.tar.xz dotfiles-ca792273cc9d473e50eec9f64fc8d0046f08b7fc.zip | |
Fixed font fiasco
| -rw-r--r-- | .emacs | 14 |
1 files changed, 3 insertions, 11 deletions
| @@ -42,25 +42,17 @@ Return a list of installed packages or nil for every skipped package." | |||
| 42 | (require 'evil) | 42 | (require 'evil) |
| 43 | (evil-mode 1) | 43 | (evil-mode 1) |
| 44 | 44 | ||
| 45 | (defun customize-faces () | ||
| 46 | (custom-set-faces | ||
| 47 | '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold)))) | ||
| 48 | '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold)))) | ||
| 49 | ) | ||
| 50 | ) | ||
| 51 | |||
| 52 | (require 'color-theme) | 45 | (require 'color-theme) |
| 53 | (color-theme-initialize) | 46 | (color-theme-initialize) |
| 54 | (customize-faces) | 47 | |
| 55 | (if (daemonp) | 48 | (if (daemonp) |
| 56 | (add-hook 'after-make-frame-functions | 49 | (add-hook 'after-make-frame-functions |
| 57 | (lambda (frame) | 50 | (lambda (frame) |
| 58 | (with-selected-frame frame | 51 | (with-selected-frame frame |
| 59 | (progn | 52 | (progn |
| 60 | (color-theme-ld-dark) | 53 | (color-theme-dark-laptop) |
| 61 | (customize-faces) | ||
| 62 | )))) | 54 | )))) |
| 63 | (color-theme-ld-dark) | 55 | (color-theme-dark-laptop) |
| 64 | ) | 56 | ) |
| 65 | 57 | ||
| 66 | (global-undo-tree-mode) | 58 | (global-undo-tree-mode) |
