From 8232568563d0090935a9e22f38ef67934497f962 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 15 Mar 2019 18:45:59 +0100 Subject: Stop highlighting long lines I use whitespace-mode to check out *whitespace*, not to got on a crusade to enforce the Holy Eighty Rule. --- .emacs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.emacs b/.emacs index f254053..fda57c6 100644 --- a/.emacs +++ b/.emacs @@ -204,6 +204,18 @@ (lambda () (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. -- cgit v1.2.3