diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-22 13:28:15 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-22 13:28:15 -0400 |
commit | a95b382d7294a0d9d7fc4a38cc9bfe52367cea90 (patch) | |
tree | debf21b36ecb1f345850a6687dbd4228b3d42769 | |
parent | Merge `create-development-environment` branch to `stable` branch (diff) | |
download | mmosmacs-a95b382d7294a0d9d7fc4a38cc9bfe52367cea90.tar.gz mmosmacs-a95b382d7294a0d9d7fc4a38cc9bfe52367cea90.tar.bz2 mmosmacs-a95b382d7294a0d9d7fc4a38cc9bfe52367cea90.zip |
Don't show whitespace in specific places
-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 | ||