瀏覽代碼

change diff face

pull/1/head
10sr 12 年之前
父節點
當前提交
1381e544a1
共有 1 個檔案被更改,包括 6 行新增3 行删除
  1. +6
    -3
      emacs.el

+ 6
- 3
emacs.el 查看文件

@@ -585,11 +585,14 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(add-hook 'diff-mode-hook
(lambda ()
(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-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-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)


Loading…
取消
儲存