Don't change tabs usage in Go source code

This commit is contained in:
Tom Willemse 2015-12-17 01:09:51 +01:00
parent bc52f75609
commit 9393cae50d

View file

@ -148,10 +148,6 @@ MODE1 is enabled and vice-versa."
"Set the `disabled' property for each item in FUNCTIONS to nil." "Set the `disabled' property for each item in FUNCTIONS to nil."
(mapc #'(lambda (f) (put f 'disabled nil)) functions)) (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 () (defun oni:haskell-mode-func ()
"Function for `haskell-mode-hook'." "Function for `haskell-mode-hook'."
(turn-on-haskell-indentation)) (turn-on-haskell-indentation))
@ -1067,9 +1063,6 @@ If no direction is given, don't split."
(gnus-summary-delete-article) (gnus-summary-delete-article)
(gnus-summary-next-subject 1))))) (gnus-summary-next-subject 1)))))
(oni:add-hooks 'go-mode-hook
#'oni:go-mode-func)
(oni:add-hooks 'html-mode-hook (oni:add-hooks 'html-mode-hook
#'oni:maybe-fci-mode #'tagedit-mode #'turn-off-flyspell #'oni:maybe-fci-mode #'tagedit-mode #'turn-off-flyspell
#'turn-off-auto-fill) #'turn-off-auto-fill)