Set indent-tabs-mode to nil to disable mixing tabs and spaces.