summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-19 16:36:29 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-19 16:36:29 -0700
commit75e38dbebe1f20f89c1fe1288d1c423a034a23ab (patch)
tree004e85b23a98f8802f94105a0b7bc614a225ae89
parent[emacs] add a few more templates to org-mode. (diff)
downloademacs.d-75e38dbebe1f20f89c1fe1288d1c423a034a23ab.tar.gz
[emacs] white-mode is for prog-mode only.
-rw-r--r--emacs.d/custom/fcuny-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-edit.el b/emacs.d/custom/fcuny-edit.el
index 67cffdc..fec90ca 100644
--- a/emacs.d/custom/fcuny-edit.el
+++ b/emacs.d/custom/fcuny-edit.el
@@ -8,7 +8,7 @@
:custom
(whitespace-style '(face trailing))
(show-trailing-whitespace t)
- :hook (whitespace-mode))
+ :hook ((prog-mode . whitespace-mode)))
(use-package electric-pair-mode
:commands electric-pair-mode