|
@@ -770,6 +770,9 @@ Otherwize hook it." |
|
|
(when (fboundp 'global-whitespace-mode) |
|
|
(when (fboundp 'global-whitespace-mode) |
|
|
(add-hook 'after-first-visit-hook |
|
|
(add-hook 'after-first-visit-hook |
|
|
'global-whitespace-mode)) |
|
|
'global-whitespace-mode)) |
|
|
|
|
|
(add-hook 'dired-mode-hook |
|
|
|
|
|
;; Other way to disable in dired buffers? |
|
|
|
|
|
(lambda () (set-variable 'whitespace-style nil t))) |
|
|
|
|
|
|
|
|
(with-eval-after-load 'whitespace |
|
|
(with-eval-after-load 'whitespace |
|
|
(defvar whitespace-display-mappings) |
|
|
(defvar whitespace-display-mappings) |
|
@@ -802,9 +805,6 @@ Otherwize hook it." |
|
|
(whitespace-mode 1))) |
|
|
(whitespace-mode 1))) |
|
|
|
|
|
|
|
|
(set-variable 'whitespace-line-column nil) |
|
|
(set-variable 'whitespace-line-column nil) |
|
|
(add-hook 'dired-mode-hook |
|
|
|
|
|
(lambda () |
|
|
|
|
|
(set-variable 'whitespace-style nil t))) |
|
|
|
|
|
(if (>= (display-color-cells) |
|
|
(if (>= (display-color-cells) |
|
|
256) |
|
|
256) |
|
|
(set-face-foreground 'whitespace-newline "color-109") |
|
|
(set-face-foreground 'whitespace-newline "color-109") |
|
@@ -812,6 +812,7 @@ Otherwize hook it." |
|
|
;; (set-face-bold-p 'whitespace-newline |
|
|
;; (set-face-bold-p 'whitespace-newline |
|
|
;; t)) |
|
|
;; t)) |
|
|
)) |
|
|
)) |
|
|
|
|
|
|
|
|
(and nil |
|
|
(and nil |
|
|
'(require 'fill-column-indicator nil t) |
|
|
'(require 'fill-column-indicator nil t) |
|
|
(setq fill-column-indicator)) |
|
|
(setq fill-column-indicator)) |
|
|