diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -1107,11 +1107,11 @@ This allows better indentation support in modes that support multiple | |||
| 1107 | programming languages in the same buffer, like literate programming | 1107 | programming languages in the same buffer, like literate programming |
| 1108 | environments or ANTLR programs with embedded Python code. | 1108 | environments or ANTLR programs with embedded Python code. |
| 1109 | 1109 | ||
| 1110 | A major mode can provide indentation context for a sub-mode through | 1110 | A major mode can provide indentation context for a sub-mode. To |
| 1111 | the 'prog-indentation-context' variable. To support this, modes that | 1111 | support this, modes should use 'prog-first-column' instead of a |
| 1112 | provide indentation should use 'prog-widen' instead of 'widen' and | 1112 | literal zero and never call 'widen' in their indentation functions. |
| 1113 | 'prog-first-column' instead of a literal zero. See the node | 1113 | See the node "(elisp) Mode-Specific Indent" in the ELisp manual for |
| 1114 | "(elisp) Mode-Specific Indent" in the ELisp manual for more details. | 1114 | more details. |
| 1115 | 1115 | ||
| 1116 | ** ERC | 1116 | ** ERC |
| 1117 | 1117 | ||