From 75e38dbebe1f20f89c1fe1288d1c423a034a23ab Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 19 Apr 2019 16:36:29 -0700 Subject: [emacs] white-mode is for prog-mode only. --- emacs.d/custom/fcuny-edit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs.d/custom') 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 -- cgit 1.4.1