From 9393cae50dce9b34e57aa0725075ae6cd801c7ff Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 17 Dec 2015 01:09:51 +0100 Subject: Don't change tabs usage in Go source code --- emacs/.emacs.d/init.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 7978a21..8f90dc0 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -148,10 +148,6 @@ MODE1 is enabled and vice-versa." "Set the `disabled' property for each item in FUNCTIONS to nil." (mapc #'(lambda (f) (put f 'disabled nil)) functions)) -(defun oni:go-mode-func () - "Function for `go-mode-hook'." - (setq indent-tabs-mode nil)) - (defun oni:haskell-mode-func () "Function for `haskell-mode-hook'." (turn-on-haskell-indentation)) @@ -1067,9 +1063,6 @@ If no direction is given, don't split." (gnus-summary-delete-article) (gnus-summary-next-subject 1))))) -(oni:add-hooks 'go-mode-hook - #'oni:go-mode-func) - (oni:add-hooks 'html-mode-hook #'oni:maybe-fci-mode #'tagedit-mode #'turn-off-flyspell #'turn-off-auto-fill) -- cgit v1.2.3-54-g00ecf