diff --git a/init.el b/init.el index 4d8c56f..5d70871 100755 --- a/init.el +++ b/init.el @@ -66,14 +66,14 @@ (setq tab-always-indent nil) ;; tab key inserts tabs after hitting indent point ;; display mismatched whitespace at the beginning or end of lines -(add-hook 'after-change-major-mode-hook - (lambda () - (if (derived-mode-p 'prog-mode) - (progn - (if (eq indent-tabs-mode t) - (setq whitespace-style '(face indentation::tab trailing missing-newline-at-eof)) - (setq whitespace-style '(face indentation::space trailing missing-newline-at-eof))) - (whitespace-mode t))))) +;; (add-hook 'after-change-major-mode-hook +;; (lambda () +;; (if (derived-mode-p 'prog-mode) +;; (progn +;; (if (eq indent-tabs-mode t) +;; (setq whitespace-style '(face indentation::tab trailing missing-newline-at-eof)) +;; (setq whitespace-style '(face indentation::space trailing missing-newline-at-eof))) +;; (whitespace-mode t))))) (add-hook 'prog-mode-hook 'enable-tabs) (add-hook 'lisp-mode-hook 'disable-tabs)