diff options
| author | Dmitry Gutov | 2017-12-21 00:34:07 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2017-12-21 00:34:07 +0200 |
| commit | aca827b0d0b108e26628da04d01a4e8bac372bdd (patch) | |
| tree | 9172f3166d283b44df178472830e86c6653028ba /etc | |
| parent | da0d7730b534ec5dee91c472246709d1c93df40c (diff) | |
| parent | 87548f5e98b450f2186d3fb5018ec34f4426351b (diff) | |
| download | emacs-aca827b0d0b108e26628da04d01a4e8bac372bdd.tar.gz emacs-aca827b0d0b108e26628da04d01a4e8bac372bdd.zip | |
Merge branch 'widen-less' into emacs-26
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -1119,11 +1119,11 @@ This allows better indentation support in modes that support multiple | |||
| 1119 | programming languages in the same buffer, like literate programming | 1119 | programming languages in the same buffer, like literate programming |
| 1120 | environments or ANTLR programs with embedded Python code. | 1120 | environments or ANTLR programs with embedded Python code. |
| 1121 | 1121 | ||
| 1122 | A major mode can provide indentation context for a sub-mode through | 1122 | A major mode can provide indentation context for a sub-mode. To |
| 1123 | the 'prog-indentation-context' variable. To support this, modes that | 1123 | support this, modes should use 'prog-first-column' instead of a |
| 1124 | provide indentation should use 'prog-widen' instead of 'widen' and | 1124 | literal zero and avoid calling 'widen' in their indentation functions. |
| 1125 | 'prog-first-column' instead of a literal zero. See the node | 1125 | See the node "(elisp) Mode-Specific Indent" in the ELisp manual for |
| 1126 | "(elisp) Mode-Specific Indent" in the ELisp manual for more details. | 1126 | more details. |
| 1127 | 1127 | ||
| 1128 | ** ERC | 1128 | ** ERC |
| 1129 | 1129 | ||