From cb1c36a2b9e1f56845d25efe478d72cc43338920 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 31 Jul 2016 20:49:03 -0700 Subject: [emacs] Show trailing white space Closes #5 --- emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs.d') diff --git a/emacs.d/init.el b/emacs.d/init.el index cb732f5..bd33fdc 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -95,6 +95,9 @@ (electric-pair-mode 1) ;; if running in macos, load environment variables +(add-hook 'prog-mode-hook + (lambda () (setq show-trailing-whitespace t))) + (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize) (exec-path-from-shell-copy-envs '("TMPDIR"))) -- cgit 1.4.1