mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[emacs] Set diff-mode colors
This commit is contained in:
parent
8303454123
commit
925f957405
1 changed files with 11 additions and 0 deletions
|
@ -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")))
|
||||
|
|
Loading…
Reference in a new issue