comparison .elisp/settings/80.go.el @ 294:a8caf664abdc

go emacs: fix bug in enabling tabs for go files
author Augie Fackler <raf@durin42.com>
date Mon, 12 Nov 2012 16:27:49 -0600
parents e00b19603472
children aa5afa13e12c
comparison
equal deleted inserted replaced
293:4e25b698e3e3 294:a8caf664abdc
1 ;; completions for go 1 ;; completions for go
2 (defun af-go-hook () 2 (defun af-go-hook ()
3 ;; enable tabs 3 ;; enable tabs
4 (setq tab-width 2) 4 (setq tab-width 2)
5 (setq-default indent-tabs-mode t) 5 (setq indent-tabs-mode t)
6 (make-variable-buffer-local 'whitespace-style) 6 (make-variable-buffer-local 'whitespace-style)
7 (setq whitespace-style '(trailing lines-tail indentation trailing empty)) 7 (setq whitespace-style '(trailing lines-tail indentation trailing empty))
8 ) 8 )
9 9
10 (defun af-get-go-elisp-location () 10 (defun af-get-go-elisp-location ()