[emacs] Set diff-mode colors

This commit is contained in:
Correl Roush 2013-08-07 18:36:55 -04:00
parent 8303454123
commit 925f957405

View file

@ -41,6 +41,17 @@
;; Fixes an issue with ECB ;; Fixes an issue with ECB
;; (setq stack-trace-on-error t) ;; (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 ;; SLIME
(if (file-exists-p "~/quicklisp/slime-helper.el") (if (file-exists-p "~/quicklisp/slime-helper.el")
(load (expand-file-name "~/quicklisp/slime-helper.el"))) (load (expand-file-name "~/quicklisp/slime-helper.el")))