Переглянути джерело

Fix display-color-cells condition

master
10sr 5 роки тому
джерело
коміт
31b827c1d9
Підписано: 10sr Ідентифікатор GPG ключа: 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


Завантаження…
Відмінити
Зберегти