From 8830fc2affb29bdc47252ee9ef7a80b35b59344a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 24 May 2017 10:56:43 +0200 Subject: Emacs: Fix error customising faces --- emacs/.emacs.d/init.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index b28a06de..ac42949e 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -173,11 +173,12 @@ Eziam looks nice, too :config (progn (setq eziam-scale-headings nil) (load-theme 'eziam-light t) - (set-face-underline 'js2-function-call nil) - (set-face-bold 'font-lock-keyword-face nil) - (set-face-foreground 'git-gutter-fr:added "#96a4ab") - (set-face-foreground 'git-gutter-fr:modified "#96a4ab") - (set-face-foreground 'git-gutter-fr:deleted "#96a4ab"))) + (custom-theme-set-faces 'user + '(js2-function-call ((t (:underline nil)))) + '(font-lock-keyword-face ((t (:weight normal)))) + '(git-gutter-fr:added ((t (:foreground "#96a4ab")))) + '(git-gutter-fr:modified ((t (:foreground "#96a4ab")))) + '(git-gutter-fr:deleted ((t (:foreground "#96a4ab"))))))) #+END_SRC Highlighting quasi-quoted expressions in lisps is quite useful, but I -- cgit 1.4.1