瀏覽代碼

Fix display-color-cells condition

master
10sr 5 年之前
父節點
當前提交
31b827c1d9
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el 查看文件

@@ -401,8 +401,8 @@ found, otherwise returns nil."
'(git-gutter:update-interval 2))
(custom-set-variables
'(git-gutter:unchanged-sign " "))
(when (= (display-color-cells)
256)
(when (>= (display-color-cells)
256)
(let ((c "color-233"))
(set-face-background 'git-gutter:modified c)
(set-face-background 'git-gutter:added c)
@@ -646,8 +646,8 @@ found, otherwise returns nil."
(add-hook 'dired-mode-hook
(lambda ()
(set (make-local-variable 'whitespace-style) nil)))
(if (= (display-color-cells)
256)
(if (>= (display-color-cells)
256)
(set-face-foreground 'whitespace-newline "color-109")
;; (progn
;; (set-face-bold-p 'whitespace-newline


Loading…
取消
儲存