Previous: , Up: Tabs versus Spaces   [Index]


8.10.4.2 Tab Always Indent

The variable tab-always-indent tweaks the behavior of the ‘<TAB>’ (‘indent-for-tab-command’) command. The default value, ‘t’, gives the behavior described in *note Indentation::. If you change the value to the symbol ‘complete’, then ‘<TAB>’ first tries to indent the current line, and if the line was already indented, it tries to complete the text at point. If the value is ‘nil’, then ‘<TAB>’ indents the current line only if point is at the left margin or in the line’s indentation; otherwise, it inserts a tab character.