Browse Source

change diff face

pull/1/head
10sr 13 years ago
parent
commit
1381e544a1
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      emacs.el

+ 6
- 3
emacs.el View File

@@ -585,11 +585,14 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(add-hook 'diff-mode-hook (add-hook 'diff-mode-hook
(lambda () (lambda ()
(view-mode 1) (view-mode 1)
(set-face-foreground 'diff-file-header-face nil)
(set-face-foreground 'diff-header-face nil)
(set-face-foreground 'diff-index-face "blue") (set-face-foreground 'diff-index-face "blue")
(set-face-foreground 'diff-hunk-header-face "magenda")
(set-face-foreground 'diff-hunk-header-face "cyan")
(set-face-foreground 'diff-context-face nil)
(set-face-foreground 'diff-removed-face "red") (set-face-foreground 'diff-removed-face "red")
(set-face-foreground 'diff-added-face "blue")
(set-face-foreground 'diff-changed-face "syan")
(set-face-foreground 'diff-added-face "green")
(set-face-foreground 'diff-changed-face "magenda")
)) ))


;; (ffap-bindings) ;; (ffap-bindings)


Loading…
Cancel
Save