Ver código fonte

Fix display-color-cells condition

master
10sr 5 anos atrás
pai
commit
31b827c1d9
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 4 adições e 4 exclusões
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar