summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-02-17 23:48:31 -0500
committerKyle Meyer <kyle@kyleam.com>2017-02-17 23:48:31 -0500
commit0fb37a03805e85556fe9c777c417de42ab8eddbc (patch)
tree4c8297c387d1137e8497a15a81d9a7997d3bac57
parenta3ce3c3a3837011124b977c5eb5e936bb9154387 (diff)
downloademacs.d-0fb37a03805e85556fe9c777c417de42ab8eddbc.tar.gz
Declare safe local value for whitespace-mode
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index c4e716e..97eb097 100644
--- a/init.el
+++ b/init.el
@@ -468,6 +468,8 @@
(use-package whitespace
:config
+ :init
+ (put 'whitespace-mode 'safe-local-variable #'booleanp)
(define-key km/editing-map "t" #'whitespace-mode)
(setq whitespace-style '(face trailing indentation))