Emacs: Fix error customising faces
Alan Pearce alan@alanpearce.eu
Wed, 24 May 2017 10:56:43 +0200
1 files changed, 6 insertions(+), 5 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -173,11 +173,12 @@ :defines (eziam-scale-headings) :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