Previous: , Up: Indenting   [Index]


8.10.4 Tabs versus Spaces

If you prefer, all indentation can be made from spaces only. By using spaces only, you can make sure that your file always looks the same.

indent-tabs-mode

set this buffer-local variable to nil

If you only care about how it looks within Emacs, another way to tackle this problem is to set the tab-width variable in a file-local variable.