diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -358,6 +358,14 @@ | |||
358 | indicate-empty-lines t | 358 | indicate-empty-lines t |
359 | indicate-buffer-boundaries 'left) | 359 | indicate-buffer-boundaries 'left) |
360 | 360 | ||
361 | ;; Don't show whitespace in specific places | ||
362 | (dolist (hook '(comint-mode-hook | ||
363 | compilation-mode-hook | ||
364 | minibuffer-setup-hook | ||
365 | special-mode-hook | ||
366 | term-mode-hook)) | ||
367 | (add-hook hook (lambda () (setq-local show-trailing-whitespace nil)))) | ||
368 | |||
361 | ;; Make files end with newline | 369 | ;; Make files end with newline |
362 | (setq-default require-final-newline t) | 370 | (setq-default require-final-newline t) |
363 | 371 | ||