# HG changeset patch # User Augie Fackler # Date 1312324073 18000 # Node ID 8109c1d949c8ed669dde7b620890aeac6aa7aac1 # Parent 3350b219b65340f36c1151da4a909f4754d372ce go-mode-hook: disable tabs highlighting, enable tab indentation diff --git a/.elisp/settings/40.modes.el b/.elisp/settings/40.modes.el --- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -31,7 +31,11 @@ point." (defun af-go-hook () ;; enable tabs (setq tab-width 2) - (setq-default indent-tabs-mode t)) + (setq-default indent-tabs-mode t) + (make-variable-buffer-local 'whitespace-style) + (setq whitespace-style '(trailing lines-tail indentation trailing empty)) + (message "Fixed whitespace style") + ) (let ((go-emacs (concat (getenv "GOROOT") "/misc/emacs")))