diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9bd970f..75ffa59 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -41,6 +41,17 @@ ;; Fixes an issue with ECB ;; (setq stack-trace-on-error t) +;; Diff colors +(defun custom-diff-colors () + "update the colors for diff faces" + (set-face-attribute + 'diff-added nil :foreground "green") + (set-face-attribute + 'diff-removed nil :foreground "red") + (set-face-attribute + 'diff-changed nil :foreground "purple")) +(eval-after-load "diff-mode" '(custom-diff-colors)) + ;; SLIME (if (file-exists-p "~/quicklisp/slime-helper.el") (load (expand-file-name "~/quicklisp/slime-helper.el")))