From cf5d7e3ba84323b0cdefb42f4e6329f4b23f91c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Wed, 26 Dec 2018 11:54:18 +0000 Subject: [PATCH] fix highlight-non-default-indentation --- core/core-ui.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index 5f2ac22d4..7c5595028 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -446,9 +446,9 @@ instead). Meant for `kill-buffer-query-functions'." (set (make-local-variable 'whitespace-style) (if (or (bound-and-true-p whitespace-mode) (bound-and-true-p whitespace-newline-mode)) - (cl-union (if indent-tabs-mode '(tabs tab-mark) '(spaces space-mark)) + (cl-union (if indent-tabs-mode '(spaces space-mark) '(tabs tab-mark)) whitespace-style) - `(face ,@(if indent-tabs-mode '(tabs tab-mark) '(spaces space-mark)) + `(face ,@(if indent-tabs-mode '(spaces space-mark) '(tabs tab-mark)) trailing-lines tail))) (whitespace-mode +1)))