Browse Source

Fix display-color-cells condition

master
10sr 5 years ago
parent
commit
31b827c1d9
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el View File

@@ -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…
Cancel
Save