diff --git a/spacemacs/config.el b/spacemacs/config.el index 2401b975d..e3991b86c 100644 --- a/spacemacs/config.el +++ b/spacemacs/config.el @@ -103,9 +103,7 @@ It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'." ;; because it avoids autoloads of elisp modes) (setq initial-major-mode 'text-mode) ;; whitespace-mode -(add-hook 'prog-mode-hook (lambda () - (interactive) - (setq show-trailing-whitespace 1))) +(add-hook 'prog-mode-hook (lambda () (setq show-trailing-whitespace 1))) ;; When point is on paranthesis, highlight the matching one (show-paren-mode t) ;; use only spaces and no tabs