aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-01-17 18:04:45 -0600
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-01-17 18:04:45 -0600
commit13da2e73efd4f6c0e9c237ed06d89c9415fa0e73 (patch)
treee6c1d5b126184c11bc81b26bdb2c7604cf0acdfb
parentb3c502724d3675de1b2c3ac4870876da865e638a (diff)
Add: show-trailing-whitespace [editing]
-rw-r--r--shoshimacs.el3
-rw-r--r--shoshimacs.org5
2 files changed, 5 insertions, 3 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index a2fb760..b1fdac0 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -168,7 +168,8 @@
(recentf-mode)
-(setq indent-tabs-mode nil)
+(setq indent-tabs-mode nil
+ show-trailing-whitespace t)
;;; Programming
(defvar slime-repo "https://github.com/slime/slime")
diff --git a/shoshimacs.org b/shoshimacs.org
index 9861162..4ad3909 100644
--- a/shoshimacs.org
+++ b/shoshimacs.org
@@ -664,10 +664,11 @@ from them in various Emacs menus. [[*\[\[info:consult#Top\]\[consult\]\] - Consu
(recentf-mode)
#+end_src
-** tabs and spaces
+** whitespace, tabs, and spaces
#+begin_src emacs-lisp
- (setq indent-tabs-mode nil)
+ (setq indent-tabs-mode nil
+ show-trailing-whitespace t)
#+end_src
* Programming