summary refs log tree commit diff
diff options
context:
space:
mode:
-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