summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-03-15 18:45:59 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-03-15 18:47:53 +0100
commit8232568563d0090935a9e22f38ef67934497f962 (patch)
tree13b190e7fede34d309f14f440084095e9deb7d20 /.emacs
parentd945c4e426100049cb674e95ba2bf99ef5f90291 (diff)
downloaddotfiles-8232568563d0090935a9e22f38ef67934497f962.tar.xz
Stop highlighting long lines
I use whitespace-mode to check out *whitespace*, not to got on a crusade to enforce the Holy Eighty Rule.
Diffstat (limited to '.emacs')
-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)