summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs12
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index f254053..fda57c6 100644
--- a/.emacs
+++ b/.emacs
@@ -205,6 +205,18 @@
(ibuffer-switch-to-saved-filter-groups "my/ibuffer-groups")))
+;; Minor modes configuration
+
+;; See erc-modules customization above for an explanation on these
+;; shenanigans. tl;dr I do not want to maintain an exhaustive list of
+;; whitespace elements and risk missing out on future additions to the
+;; default value; I just want to remove one specific item.
+(eval-after-load 'whitespace
+ '(progn
+ (let ((new-items (remq 'lines whitespace-style)))
+ (customize-set-variable 'whitespace-style new-items))))
+
+
;; Helper functions and miscellaneous settings.
(defun my/make-tabless (f)